diff --git a/protokube/cmd/protokube/main.go b/protokube/cmd/protokube/main.go index d599f7eb27..b902a75f8b 100644 --- a/protokube/cmd/protokube/main.go +++ b/protokube/cmd/protokube/main.go @@ -145,11 +145,9 @@ func run() error { } if clusterID == "" { - if clusterID == "" { - return fmt.Errorf("cluster-id is required (cannot be determined from cloud)") - } - glog.Infof("Setting cluster-id from cloud: %s", clusterID) + return fmt.Errorf("cluster-id is required (cannot be determined from cloud)") } + glog.Infof("cluster-id: %s", clusterID) if internalIP == nil { glog.Errorf("Cannot determine internal IP")