better default config options

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-28 15:48:28 -07:00
parent 5f223f0b0a
commit 87ee67fbcf
2 changed files with 6 additions and 5 deletions

View File

@ -354,11 +354,12 @@ func mainMouseClick(b *gui.ButtonMap) {
count := countVMS(currentMessage) count := countVMS(currentMessage)
log.Println("\tSHOW VMS currentMessage =", currentMessage) log.Println("\tSHOW VMS currentMessage =", currentMessage)
log.Println("\tSHOW VMS count =", count) log.Println("\tSHOW VMS count =", count)
if (count != 0) { // TODO: make sure login worked & the account really has zero VMs
// if (count != 0) {
name := "Virtual Machines (" + b.Account.Nick + ")" name := "Virtual Machines (" + b.Account.Nick + ")"
mh := gui.AddVmsTab(name, count, b.Account) mh := gui.AddVmsTab(name, count, b.Account)
ReadReceivedData(currentMessage, mh, b.W, b.T) ReadReceivedData(currentMessage, mh, b.W, b.T)
} // }
currentMessage = nil currentMessage = nil
gui.Data.State = "done" gui.Data.State = "done"
} }

View File

@ -10,7 +10,7 @@
"hostname": "customers.wprod.wit.com", "hostname": "customers.wprod.wit.com",
"password": "yowzayowza", "password": "yowzayowza",
"URL": "http://stackapi:4000/", "URL": "http://stackapi:4000/",
"domain": "test.wit.com" "domain": "jcarr.com"
}, },
{ {
"id": 21, "id": 21,
@ -30,9 +30,9 @@
"email": "jcarr@wit.com", "email": "jcarr@wit.com",
"password": "badpass!", "password": "badpass!",
"URL": "http://stackapi-api1.stackapi.customers.dev.wit.com:4000/", "URL": "http://stackapi-api1.stackapi.customers.dev.wit.com:4000/",
"hostname": "customers.wprod.wit.com", "hostname": "",
"token": "brokenToken", "token": "brokenToken",
"domain": "test.wit.com" "domain": "jcarr.customers.dev.wit.com"
}, },
{ {
"id": 22, "id": 22,