mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Make the prompt information clearer
This commit is contained in:
parent
ad5e8f68ec
commit
392da4e038
|
@ -171,7 +171,7 @@ func (c *commandS3Configure) Do(args []string, commandEnv *CommandEnv, writer io
|
||||||
if userName, found := accessKeySet[cred.AccessKey]; !found {
|
if userName, found := accessKeySet[cred.AccessKey]; !found {
|
||||||
accessKeySet[cred.AccessKey] = ident.Name
|
accessKeySet[cred.AccessKey] = ident.Name
|
||||||
} else {
|
} else {
|
||||||
return errors.New(fmt.Sprintf("duplicate accessKey: %s, already configured in user[%s]", cred.AccessKey, userName))
|
return errors.New(fmt.Sprintf("duplicate accessKey[%s], already configured in user[%s]", cred.AccessKey, userName))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue