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
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user