1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-01 06:56:29 +00:00

print version

This commit is contained in:
Murali Paluru
2019-09-03 13:01:22 -07:00
committed by Alena Prokharchyk
parent 11c49ae59f
commit c69d971962
5 changed files with 14 additions and 1 deletions

View File

@@ -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)
}