From 1fafae3efcf0855ddc4d23fa0ad96da46ba813bb Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 17 May 2022 11:01:49 +0200 Subject: [PATCH] info: remove cluster store from docker info output This removes the cluster store information from the output of "docker info". Signed-off-by: Sebastiaan van Stijn --- cli/command/system/info.go | 2 -- cli/command/system/info_test.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/cli/command/system/info.go b/cli/command/system/info.go index e1f0ac5c55..4853e1dba1 100644 --- a/cli/command/system/info.go +++ b/cli/command/system/info.go @@ -321,8 +321,6 @@ func prettyPrintServerInfo(dockerCli command.Cli, info types.Info) []error { } fmt.Fprintln(dockerCli.Out(), " Experimental:", info.ExperimentalBuild) - fprintlnNonEmpty(dockerCli.Out(), " Cluster Store:", info.ClusterStore) - fprintlnNonEmpty(dockerCli.Out(), " Cluster Advertise:", info.ClusterAdvertise) if info.RegistryConfig != nil && (len(info.RegistryConfig.InsecureRegistryCIDRs) > 0 || len(info.RegistryConfig.IndexConfigs) > 0) { fmt.Fprintln(dockerCli.Out(), " Insecure Registries:") diff --git a/cli/command/system/info_test.go b/cli/command/system/info_test.go index 499ea4edd1..038d3977b0 100644 --- a/cli/command/system/info_test.go +++ b/cli/command/system/info_test.go @@ -98,8 +98,6 @@ var sampleInfoNoSwarm = types.Info{ Labels: []string{"provider=digitalocean"}, ExperimentalBuild: false, ServerVersion: "17.06.1-ce", - ClusterStore: "", - ClusterAdvertise: "", Runtimes: map[string]types.Runtime{ "runc": { Path: "docker-runc",