mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix index (#4158)
This commit is contained in:
parent
e98739598a
commit
b63d1e9c6b
|
@ -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:]...,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue