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

@@ -6,6 +6,8 @@ import (
"strings"
"time"
"github.com/sirupsen/logrus"
"github.com/rancher/rke/cluster"
"github.com/rancher/rke/dind"
"github.com/rancher/rke/hosts"
@@ -205,6 +207,7 @@ func checkAllIncluded(cluster *cluster.Cluster) error {
}
func clusterUpFromCli(ctx *cli.Context) error {
logrus.Infof("Running RKE version: %v", ctx.App.Version)
if ctx.Bool("local") {
return clusterUpLocal(ctx)
}