Moved port Info to be fetched from the standard inspect call to avoid superfluous calls. Also moved the information to the info section instead of a whole new section in the expanded view

This commit is contained in:
Kenan Rhoton
2017-05-15 06:52:38 +02:00
parent b2165b6a29
commit ccb44c964c
2 changed files with 20 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ import (
ui "github.com/gizak/termui"
)
var displayInfo = []string{"id", "name", "image", "state"}
var displayInfo = []string{"id", "name", "image", "ports", "state"}
type Info struct {
*ui.Table