Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Fix new GUI version
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienBreux committed Aug 27, 2017
1 parent 26436b1 commit 0e72363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func viewNamespaces(g *gocui.Gui, lMaxX int, lMaxY int) error {

// Actualize list in namespaces view
func viewNamespacesRefreshList(g *gocui.Gui) {
g.Execute(func(g *gocui.Gui) error {
g.Update(func(g *gocui.Gui) error {
debug(g, "View namespaces: Actualize")
v, err := g.View("namespaces")
if err != nil {
Expand Down Expand Up @@ -193,7 +193,7 @@ func viewPodsShowWithAutoRefresh(g *gocui.Gui) {

// Actualize list in pods view
func viewPodsRefreshList(g *gocui.Gui) {
g.Execute(func(g *gocui.Gui) error {
g.Update(func(g *gocui.Gui) error {
lMaxX, _ := g.Size()
debug(g, "View pods: Actualize")
v, err := g.View("pods")
Expand Down

0 comments on commit 0e72363

Please sign in to comment.