Fix clusterdump info namespaces flag not working

Kubernetes-commit: 461fbad4122051f02422191f94b5ce26542b15a6
This commit is contained in:
zhouya0 2020-06-08 14:21:31 +08:00 committed by Kubernetes Publisher
parent 4ceef69fbc
commit c6077ba088
1 changed files with 2 additions and 0 deletions

View File

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