state/remote: make malformed name message clearer [GH-1332]

This commit is contained in:
Mitchell Hashimoto 2015-04-22 08:59:30 +02:00
parent ffcb78dcba
commit c58e09abaa
1 changed files with 1 additions and 1 deletions

View File

@ -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