Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: Harvest should fetch certificates via a script #2238

Merged
merged 3 commits into from
Aug 1, 2023
Merged

Conversation

cgrinds
Copy link
Collaborator

@cgrinds cgrinds commented Jul 26, 2023

No description provided.

Comment on lines +321 to +323
o := &options.Options{}
options.SetPathsAndHostname(o)
pathPrefix = path.Join(o.HomePath, "cert/", o.Hostname)
Copy link
Contributor

Choose a reason for hiding this comment

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

these 3 lines could be outside this if block as it would be used by below if case also.

} else {
username := pollerAuth.Username
password := pollerAuth.Password
client.username = username
Copy link
Contributor

Choose a reason for hiding this comment

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

we need to retain this line for username same as rest/client.go 89 line

@cgrinds cgrinds merged commit 7c33cd7 into main Aug 1, 2023
9 checks passed
@cgrinds cgrinds deleted the cbg-cert-auth branch August 1, 2023 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants