aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author石昌林 <changlin.shi@ly.com>2022-07-13 11:39:45 +0800
committer石昌林 <changlin.shi@ly.com>2022-07-13 11:39:45 +0800
commit392da4e0385ac8bcce5ac0d286277a71651af225 (patch)
tree77277ec90374447e8303370a6fdb2814de7058c5
parentad5e8f68ec04c37d16b3c86834e1ecc524c2680b (diff)
downloadseaweedfs-392da4e0385ac8bcce5ac0d286277a71651af225.tar.xz
seaweedfs-392da4e0385ac8bcce5ac0d286277a71651af225.zip
Make the prompt information clearer
-rw-r--r--weed/shell/command_s3_configure.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_s3_configure.go b/weed/shell/command_s3_configure.go
index c3c0a0d34..0660b7889 100644
--- a/weed/shell/command_s3_configure.go
+++ b/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))
}
}
}