better default config options
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
5f223f0b0a
commit
87ee67fbcf
5
main.go
5
main.go
|
@ -354,11 +354,12 @@ func mainMouseClick(b *gui.ButtonMap) {
|
|||
count := countVMS(currentMessage)
|
||||
log.Println("\tSHOW VMS currentMessage =", currentMessage)
|
||||
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 + ")"
|
||||
mh := gui.AddVmsTab(name, count, b.Account)
|
||||
ReadReceivedData(currentMessage, mh, b.W, b.T)
|
||||
}
|
||||
// }
|
||||
currentMessage = nil
|
||||
gui.Data.State = "done"
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"hostname": "customers.wprod.wit.com",
|
||||
"password": "yowzayowza",
|
||||
"URL": "http://stackapi:4000/",
|
||||
"domain": "test.wit.com"
|
||||
"domain": "jcarr.com"
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
|
@ -30,9 +30,9 @@
|
|||
"email": "jcarr@wit.com",
|
||||
"password": "badpass!",
|
||||
"URL": "http://stackapi-api1.stackapi.customers.dev.wit.com:4000/",
|
||||
"hostname": "customers.wprod.wit.com",
|
||||
"hostname": "",
|
||||
"token": "brokenToken",
|
||||
"domain": "test.wit.com"
|
||||
"domain": "jcarr.customers.dev.wit.com"
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
|
|
Loading…
Reference in New Issue