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:
parent
1429ac6a7f
commit
95fa353ee9
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue