derailed 2020-03-06 12:49:11 -07:00
parent 5d00b9bc6f
commit 478fb581c4
3 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,6 @@ func (a *Aliases) Load() error {
func (a *Aliases) LoadFileAliases(path string) error {
f, err := ioutil.ReadFile(path)
if err != nil {
log.Debug().Err(err).Msgf("No custom aliases found")
return nil
}

View File

@ -237,6 +237,7 @@ func (t *Table) reconcile(ctx context.Context) error {
}
if err != nil {
log.Error().Err(err).Msg("Reconcile failed to list resource")
return err
}
var rows render.Rows

View File

@ -297,7 +297,7 @@ func (a *App) switchCtx(name string, loadPods bool) error {
if v == "" || v == "ctx" || v == "context" {
v = "pod"
}
if err := a.gotoResource(v, ns, true); loadPods && err != nil {
if err := a.gotoResource(v, "", true); loadPods && err != nil {
a.Flash().Err(err)
}
a.clusterModel.Reset(a.factory)