Browse Source

Make the prompt information clearer

pull/3305/head
石昌林 3 years ago
parent
commit
392da4e038
  1. 2
      weed/shell/command_s3_configure.go

2
weed/shell/command_s3_configure.go

@ -171,7 +171,7 @@ func (c *commandS3Configure) Do(args []string, commandEnv *CommandEnv, writer io
if userName, found := accessKeySet[cred.AccessKey]; !found {
accessKeySet[cred.AccessKey] = ident.Name
} 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…
Cancel
Save