Merge pull request #91890 from zhouya0/fix_clusterdump_info_namespaces_not_working

Fix clusterdump info namespaces flag not working
This commit is contained in:
Kubernetes Prow Robot
2020-06-18 19:05:01 -07:00
committed by GitHub

View File

@@ -200,6 +200,8 @@ func (o *ClusterInfoDumpOptions) Run() error {
metav1.NamespaceSystem,
o.Namespace,
}
} else {
namespaces = o.Namespaces
}
}
for _, namespace := range namespaces {