Skip to content

Added func DetermineAuthMethod with auth type validation #10

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 5 commits into from
Feb 9, 2024
Merged

Conversation

ShocOne
Copy link
Contributor

@ShocOne ShocOne commented Feb 9, 2024

Change

Added func DetermineAuthMethod
Refactored build client

Type of Change

  • New feature (non-breaking change which adds functionality)

@ShocOne ShocOne merged commit 189dfc1 into main Feb 9, 2024
// Determine the authentication method using the helper function
authMethod, err := DetermineAuthMethod(config.Auth)
if err != nil {
log.Error("Failed to determine authentication method", zap.Error(err))

Check warning

Code scanning / gosec

Errors unhandled.

Errors unhandled.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant