From f83689c53a731b269637bdf167fe57b4d3149913 Mon Sep 17 00:00:00 2001 From: derailed Date: Tue, 4 Jun 2019 10:10:30 -0600 Subject: [PATCH] Doh! stupid error - killed all ns access ;( --- change_logs/release_0.7.5.md | 27 +++++++++++++++++++++++++++ internal/views/ns.go | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 change_logs/release_0.7.5.md diff --git a/change_logs/release_0.7.5.md b/change_logs/release_0.7.5.md new file mode 100644 index 00000000..962c20a6 --- /dev/null +++ b/change_logs/release_0.7.5.md @@ -0,0 +1,27 @@ + + +# Release v0.7.5 + +## Notes + +Thank you to all that contributed with flushing out issues with K9s! I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev and see if we're happier with some of the fixes! If you've filed an issue please help me verify and close. Your support, kindness and awesome suggestions to make K9s better is as always very much appreciated! + +Also if you dig this tool, please make some noise on social! [@kitesurfer](https://twitter.com/kitesurfer) + +--- + +## Change Logs + +Rats, looks like 0.7.4 is a dud! Sorry my fault, feeling burned out... +Please ugrade to 0.7.5. Thank you for your patience and support! + +--- + +## Resolved Bugs/Features + ++ [Issue #211](https://github.com/derailed/k9s/issues/210) + + +--- + + © 2019 Imhotep Software LLC. All materials licensed under [Apache v2.0](http://www.apache.org/licenses/LICENSE-2.0) diff --git a/internal/views/ns.go b/internal/views/ns.go index 124e6bc2..fd4afbf1 100644 --- a/internal/views/ns.go +++ b/internal/views/ns.go @@ -70,7 +70,7 @@ func (*namespaceView) cleanser(s string) string { func (v *namespaceView) decorate(data resource.TableData) resource.TableData { if _, ok := data.Rows[resource.AllNamespaces]; !ok { - if acc, err := v.app.conn().CanIAccess("", "namespaces", "namespace.v1", []string{"list"}); acc && err != nil { + if acc, err := v.app.conn().CanIAccess("", "namespaces", "namespace.v1", []string{"list"}); acc && err == nil { data.Rows[resource.AllNamespace] = &resource.RowEvent{ Action: resource.Unchanged, Fields: resource.Row{resource.AllNamespace, "Active", "0"},