fix: [CI-6412]: Error message Refinement (#70)

This commit is contained in:
Soumyajit Das
2023-01-04 08:43:01 +03:00
committed by GitHub
parent d998c00a4b
commit 9c90e58a2d
+1 -1
View File
@@ -469,7 +469,7 @@ func getAssumeRoleCreds(region, roleArn, externalId, roleSessionName string) (st
username, password, registry, err := getAuthInfo(svc)
if err != nil {
return "", "", "", errors.Wrap(err, "failed to get ECR auth")
return "", "", "", errors.Wrap(err, "failed to get ECR auth: no basic auth credentials")
}
return username, password, registry, nil
}