Guo Lei
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
weed/shell/command_s3_configure.go
|
@ -111,7 +111,7 @@ func (c *commandS3Configure) Do(args []string, commandEnv *CommandEnv, writer io |
|
|
for _, i := range exists { |
|
|
for _, i := range exists { |
|
|
s3cfg.Identities[idx].Credentials = append( |
|
|
s3cfg.Identities[idx].Credentials = append( |
|
|
s3cfg.Identities[idx].Credentials[:i], |
|
|
s3cfg.Identities[idx].Credentials[:i], |
|
|
s3cfg.Identities[idx].Credentials[:i+1]..., |
|
|
|
|
|
|
|
|
s3cfg.Identities[idx].Credentials[i+1:]..., |
|
|
) |
|
|
) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|