mirror of
https://github.com/harness/drone.git
synced 2025-05-31 11:43:15 +00:00
[fix]: [AH-724]: fix access key secret issue (#3228)
* [fix]: [AH-724]: fix secret issue
This commit is contained in:
parent
f4dfe93677
commit
09a6e983ae
@ -149,8 +149,8 @@ func getCreds(
|
||||
if reg.UserName != "" {
|
||||
return reg.UserName, secretKey, nil
|
||||
}
|
||||
accessKey, err := getSecretValue(ctx, spacePathStore, secretService, reg.SecretSpaceID,
|
||||
reg.SecretIdentifier)
|
||||
accessKey, err := getSecretValue(ctx, spacePathStore, secretService, reg.UserNameSecretSpaceID,
|
||||
reg.UserNameSecretIdentifier)
|
||||
if err != nil {
|
||||
return "", "", err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user