mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
Merge pull request #1320 from kelseyhightower/run-without-machines
apiserver does not require a cloud provider or machine list
This commit is contained in:
commit
91e9089819
@ -60,7 +60,7 @@ func init() {
|
|||||||
func verifyMinionFlags() {
|
func verifyMinionFlags() {
|
||||||
if *cloudProvider == "" || *minionRegexp == "" {
|
if *cloudProvider == "" || *minionRegexp == "" {
|
||||||
if len(machineList) == 0 {
|
if len(machineList) == 0 {
|
||||||
glog.Fatal("No machines specified!")
|
glog.Info("No machines specified!")
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user