mirror of https://github.com/docker/cli.git
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 <github@gone.nl>
This commit is contained in:
parent
28e2b92b58
commit
1fafae3efc
|
@ -321,8 +321,6 @@ func prettyPrintServerInfo(dockerCli command.Cli, info types.Info) []error {
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Fprintln(dockerCli.Out(), " Experimental:", info.ExperimentalBuild)
|
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) {
|
if info.RegistryConfig != nil && (len(info.RegistryConfig.InsecureRegistryCIDRs) > 0 || len(info.RegistryConfig.IndexConfigs) > 0) {
|
||||||
fmt.Fprintln(dockerCli.Out(), " Insecure Registries:")
|
fmt.Fprintln(dockerCli.Out(), " Insecure Registries:")
|
||||||
|
|
|
@ -98,8 +98,6 @@ var sampleInfoNoSwarm = types.Info{
|
||||||
Labels: []string{"provider=digitalocean"},
|
Labels: []string{"provider=digitalocean"},
|
||||||
ExperimentalBuild: false,
|
ExperimentalBuild: false,
|
||||||
ServerVersion: "17.06.1-ce",
|
ServerVersion: "17.06.1-ce",
|
||||||
ClusterStore: "",
|
|
||||||
ClusterAdvertise: "",
|
|
||||||
Runtimes: map[string]types.Runtime{
|
Runtimes: map[string]types.Runtime{
|
||||||
"runc": {
|
"runc": {
|
||||||
Path: "docker-runc",
|
Path: "docker-runc",
|
||||||
|
|
Loading…
Reference in New Issue