Skip to content

Commit 95fa353

Browse files
committed
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
1 parent 1429ac6 commit 95fa353

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

builtin/providers/atlas/resource_artifact.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func resourceArtifactRead(d *schema.ResourceData, meta interface{}) error {
138138
} else if len(vs) > 1 {
139139
return fmt.Errorf(
140140
"Got %d results for '%s/%s', only one is allowed",
141-
user, name, len(vs))
141+
len(vs), user, name)
142142
}
143143
v := vs[0]
144144

0 commit comments

Comments
 (0)