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

⚠️ Rename leader election config fields #2637

Closed
wants to merge 1 commit into from

Commits on Jan 5, 2024

  1. ⚠️ Rename leader election config fields

    Change the names of the leader election config fields to be more
    explanatory and reflective of what they actually do:
    
    - `LeaderElectionNamespace` -> `LeaderElectionLockNamespace` since
      it actually is the namespace for the lock.
    
    - `LeaderElectionID` -> `LeaderElectionLockName` since it actually
      is the resource name of the lock.
    
    - Also updated `pkg/leaderelection` to remove stuttering in the field
      names since the type is already `leaderelection.Options` and no
      need to repeat the `LeaderElection` prefix.
    ahmetb committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    4b954bd View commit details
    Browse the repository at this point in the history