diff options
| author | Jeff Carr <[email protected]> | 2019-05-23 10:03:27 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-23 10:03:27 -0700 |
| commit | 6766a7fd15b793b04503ccef0af7b43b9a399294 (patch) | |
| tree | 5e882c06b584957143aaef0bbf49a9938a88df70 | |
| parent | b9ade31605631ecfae95025489eef1dfe1491e2e (diff) | |
show the accounts
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | infoTabUI.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/infoTabUI.go b/infoTabUI.go index ca94427..e7c1896 100644 --- a/infoTabUI.go +++ b/infoTabUI.go @@ -78,14 +78,13 @@ func makeCloudInfoBox(custom func(int, string)) *ui.Box { agrid.SetPadded(true) for account, _ := range config.StringMap("accounts") { - hostname := config.String("cloud." + account + ".hostname") - domainname := config.String("cloud." + account + ".hostname") - port := config.String("cloud." + account + ".port") + hostname := config.String("accounts." + account + ".hostname") + domainname := config.String("accounts." + account + ".domainname") + port := config.String("accounts." + account + ".port") a := account + " " + hostname + " " + domainname + " " + port log.Println("ACCOUNT: ", a) vbox.Append(ui.NewLabel(a), false) } - os.Exit(0) return hbox } |
