Skip to content

Conversation

@gmichelo
Copy link
Contributor

No description provided.

@gmichelo gmichelo requested a review from edganiukov November 20, 2024 20:30
Copy link
Contributor

@edganiukov edganiukov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

if !found {
return nil, fnerrors.BadInputError("invalid vault secret package: expects secret package in format '<mount>/<path>'")
}
vaultClient, err := login(ctx, vaultConfig)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you wrap login call in this function, but not here - https://github.com/namespacelabs/foundation/pull/1354/files#diff-75ea27d66aada54407e9691a93b5e48da8ea56c29a6ae2f852da1bc38102bd9aR27
I am wondering if it makes sense to do retry inside login and move it here out of the retry function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants