Merge pull request #128 from ibuildthecloud/master

Only ignore get-kubeconfig error when !all (thanks @ibuildthecloud)
This commit is contained in:
Thorsten Klein 2019-10-19 09:18:05 +02:00 committed by GitHub
commit fb74afceff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -379,6 +379,9 @@ func GetKubeConfig(c *cli.Context) error {
for _, cluster := range clusters {
kubeConfigPath, err := getKubeConfig(cluster.name)
if err != nil {
if !c.Bool("all") {
return err
}
log.Println(err)
continue
}