mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04: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
1 changed files with 2 additions and 0 deletions
|
|
@ -200,6 +200,8 @@ func (o *ClusterInfoDumpOptions) Run() error {
|
|||
metav1.NamespaceSystem,
|
||||
o.Namespace,
|
||||
}
|
||||
} else {
|
||||
namespaces = o.Namespaces
|
||||
}
|
||||
}
|
||||
for _, namespace := range namespaces {
|
||||
|
|
|
|||
Loading…
Reference in a new issue