mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #91890 from zhouya0/fix_clusterdump_info_namespaces_not_working
Fix clusterdump info namespaces flag not working
This commit is contained in:
commit
2bcebed5b9
@ -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