Fix clusterdump info namespaces flag not working
Kubernetes-commit: 461fbad4122051f02422191f94b5ce26542b15a6
This commit is contained in:
parent
4ceef69fbc
commit
c6077ba088
|
@ -200,6 +200,8 @@ func (o *ClusterInfoDumpOptions) Run() error {
|
|||
metav1.NamespaceSystem,
|
||||
o.Namespace,
|
||||
}
|
||||
} else {
|
||||
namespaces = o.Namespaces
|
||||
}
|
||||
}
|
||||
for _, namespace := range namespaces {
|
||||
|
|
Loading…
Reference in New Issue