forked from TrueCloudLab/frostfs-s3-gw
[#295] authmate: Fix replace in obtain-secret
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
322411a106
commit
adc500672f
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ func obtainSecret() *cli.Command {
|
|||
return cli.Exit(fmt.Sprintf("failed to create owner's private key: %s", err), 4)
|
||||
}
|
||||
|
||||
secretAddress := strings.Replace(accessKeyIDFlag, "_", "/", 1)
|
||||
secretAddress := strings.Replace(accessKeyIDFlag, "0", "/", 1)
|
||||
|
||||
obtainSecretOptions := &authmate.ObtainSecretOptions{
|
||||
SecretAddress: secretAddress,
|
||||
|
|
Loading…
Reference in a new issue