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

🐛 Manager leader election: Don't reset restcfg UserAgent #1401

Merged
merged 1 commit into from
Mar 1, 2021

Commits on Feb 27, 2021

  1. 🐛 Manager leader election: Don't reset restcfg UserAgent

    In pkg.LeaderElection.NewResourceLock we call rest.AddUserAgent
    which resets the restcfgs useragent and sets it to the default one plus
    a suffix. This resets whatever was originally set as UserAgent and since
    we do not copy our restcfg before passing it in there, this leads to the
    UserAgent being set to the leader-election one globally.
    alvaroaleman committed Feb 27, 2021
    Configuration menu
    Copy the full SHA
    51f0fde View commit details
    Browse the repository at this point in the history