fix: include APIResource name in the aliases (#3274)
- fix: https://github.com/derailed/k9s/issues/3273mine
parent
df32d10d6b
commit
630f82cacd
|
|
@ -33,6 +33,7 @@ import (
|
|||
|
||||
func aliases(m *v1.APIResource, aa sets.Set[string]) sets.Set[string] {
|
||||
ss := sets.New(aa.UnsortedList()...)
|
||||
ss.Insert(m.Name)
|
||||
ss.Insert(m.ShortNames...)
|
||||
if m.SingularName != "" {
|
||||
ss.Insert(m.SingularName)
|
||||
|
|
|
|||
Loading…
Reference in New Issue