fix #606
parent
5d00b9bc6f
commit
478fb581c4
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue