builtin/providers/atlas: vet fix

Fixes the following vet report:

builtin/providers/atlas/resource_artifact.go:139: arg user for printf verb %d of wrong type: string
This commit is contained in:
Emil Hessman 2014-12-17 12:28:28 +01:00
parent 1429ac6a7f
commit 95fa353ee9
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ func resourceArtifactRead(d *schema.ResourceData, meta interface{}) error {
} else if len(vs) > 1 {
return fmt.Errorf(
"Got %d results for '%s/%s', only one is allowed",
user, name, len(vs))
len(vs), user, name)
}
v := vs[0]