mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 06:56:29 +00:00
print version
This commit is contained in:
committed by
Alena Prokharchyk
parent
11c49ae59f
commit
c69d971962
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/rancher/rke/hosts"
|
||||
"github.com/rancher/rke/log"
|
||||
"github.com/rancher/rke/pki"
|
||||
"github.com/rancher/types/apis/management.cattle.io/v3"
|
||||
v3 "github.com/rancher/types/apis/management.cattle.io/v3"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/urfave/cli"
|
||||
)
|
||||
@@ -81,6 +81,7 @@ func ClusterRemove(
|
||||
}
|
||||
|
||||
func clusterRemoveFromCli(ctx *cli.Context) error {
|
||||
logrus.Infof("Running RKE version: %v", ctx.App.Version)
|
||||
if ctx.Bool("local") {
|
||||
return clusterRemoveLocal(ctx)
|
||||
}
|
||||
|
Reference in New Issue
Block a user