state/remote: make malformed name message clearer [GH-1332]
This commit is contained in:
parent
ffcb78dcba
commit
c58e09abaa
|
@ -48,7 +48,7 @@ func atlasFactory(conf map[string]string) (Client, error) {
|
|||
|
||||
parts := strings.Split(name, "/")
|
||||
if len(parts) != 2 {
|
||||
return nil, fmt.Errorf("malformed name '%s'", name)
|
||||
return nil, fmt.Errorf("malformed name '%s', expected format '<account>/<name>'", name)
|
||||
}
|
||||
|
||||
client.Server = server
|
||||
|
|
Loading…
Reference in New Issue