From 16ece9bb8212da9d727d07f5770e3c876faa8779 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 23 Feb 2022 18:03:06 +0100 Subject: [PATCH] system/version: remove dead-code Signed-off-by: Sebastiaan van Stijn --- cli/command/system/version.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cli/command/system/version.go b/cli/command/system/version.go index a47cd378c3..3d1d9b9289 100644 --- a/cli/command/system/version.go +++ b/cli/command/system/version.go @@ -128,13 +128,6 @@ func runVersion(dockerCli command.Cli, opts *versionOptions) error { } // TODO print error if kubernetes is used? - // orchestrator, err := dockerCli.StackOrchestrator("") - // if err != nil { - // return cli.StatusError{StatusCode: 64, Status: err.Error()} - // } - // if orchestrator.HasKubernetes() { - // // TODO print error if kubernetes is used? - // } vd := versionInfo{ Client: clientVersion{