mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Fix clusterdump info namespaces flag not working
This commit is contained in:
parent
b93e9d9395
commit
461fbad412
@ -200,6 +200,8 @@ func (o *ClusterInfoDumpOptions) Run() error {
|
|||||||
metav1.NamespaceSystem,
|
metav1.NamespaceSystem,
|
||||||
o.Namespace,
|
o.Namespace,
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
namespaces = o.Namespaces
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for _, namespace := range namespaces {
|
for _, namespace := range namespaces {
|
||||||
|
Loading…
Reference in New Issue
Block a user