diff options
| author | Guo Lei <guol-fnst@fujitsu.com> | 2023-01-28 22:55:27 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-28 06:55:27 -0800 |
| commit | b63d1e9c6b59843085e495abf4c4b66fdfedd435 (patch) | |
| tree | b8df67d95a3aba06e1b8d5ad85b75f2f7a037004 | |
| parent | e98739598acd7ab7edfc659a7e09918046ac7028 (diff) | |
| download | seaweedfs-b63d1e9c6b59843085e495abf4c4b66fdfedd435.tar.xz seaweedfs-b63d1e9c6b59843085e495abf4c4b66fdfedd435.zip | |
fix index (#4158)
| -rw-r--r-- | weed/shell/command_s3_configure.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_s3_configure.go b/weed/shell/command_s3_configure.go index e7387a4a0..33c5a4cfc 100644 --- a/weed/shell/command_s3_configure.go +++ b/weed/shell/command_s3_configure.go @@ -111,7 +111,7 @@ func (c *commandS3Configure) Do(args []string, commandEnv *CommandEnv, writer io for _, i := range exists { s3cfg.Identities[idx].Credentials = append( s3cfg.Identities[idx].Credentials[:i], - s3cfg.Identities[idx].Credentials[:i+1]..., + s3cfg.Identities[idx].Credentials[i+1:]..., ) } |
