This commit is contained in:
Guo Lei
2023-01-28 06:55:27 -08:00
committed by GitHub
parent e98739598a
commit b63d1e9c6b
+1 -1
View File
@@ -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:]...,
)
}