derailed 2020-02-02 11:05:28 -07:00
parent 7876533732
commit 7df87a80ab
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ func (b *Browser) editCmd(evt *tcell.EventKey) *tcell.EventKey {
ns, n := client.Namespaced(path)
args := make([]string, 0, 10)
args = append(args, "edit")
args = append(args, b.meta.Kind)
args = append(args, b.meta.SingularName)
args = append(args, "-n", ns)
args = append(args, "--context", b.app.Config.K9s.CurrentContext)
if cfg := b.app.Conn().Config().Flags().KubeConfig; cfg != nil && *cfg != "" {