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

pd-ctl: avoid initializing a new PD client for each cmd execution #7804

Merged
merged 5 commits into from
Feb 5, 2024

Commits on Feb 5, 2024

  1. Avoid initializing a new PD client for each cmd execution

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    b638561 View commit details
    Browse the repository at this point in the history
  2. Use cmd.Context()

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    ade96f4 View commit details
    Browse the repository at this point in the history
  3. Refine the PD client initialization

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    829db7e View commit details
    Browse the repository at this point in the history
  4. Refine the code

    Signed-off-by: JmPotato <ghzpotato@gmail.com>
    JmPotato committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    e1c5dc0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    07eac54 View commit details
    Browse the repository at this point in the history