mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +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,
|
||||
o.Namespace,
|
||||
}
|
||||
} else {
|
||||
namespaces = o.Namespaces
|
||||
}
|
||||
}
|
||||
for _, namespace := range namespaces {
|
||||
|
Loading…
Reference in New Issue
Block a user