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

api/server: drop unused Config struct #45083

Merged
merged 1 commit into from
Mar 1, 2023

Commits on Feb 28, 2023

  1. api/server: drop unused Config struct

    The Server.cfg field is never referenced by any code in package
    "./api/server". "./api/server".Config struct values are used by
    DaemonCli code, but only to pass around configuration copied out of the
    daemon config within the "./cmd/dockerd" package. Delete the
    "./api/server".Config struct definition and refactor the "./cmd/dockerd"
    package to pull configuration directly from cli.Config.
    
    Signed-off-by: Cory Snider <csnider@mirantis.com>
    corhere committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    0a6a726 View commit details
    Browse the repository at this point in the history