Skip to content

Commit c58e09a

Browse files
committed
state/remote: make malformed name message clearer [hashicorpGH-1332]
1 parent ffcb78d commit c58e09a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

state/remote/atlas.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func atlasFactory(conf map[string]string) (Client, error) {
4848

4949
parts := strings.Split(name, "/")
5050
if len(parts) != 2 {
51-
return nil, fmt.Errorf("malformed name '%s'", name)
51+
return nil, fmt.Errorf("malformed name '%s', expected format '<account>/<name>'", name)
5252
}
5353

5454
client.Server = server

0 commit comments

Comments
 (0)