Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-06-28 12:06:53 -07:00
parent 92a3739391
commit 40ec27a48b
3 changed files with 6 additions and 6 deletions

View File

@ -139,10 +139,10 @@ func createVmBox(gw *gui.GuiWindow, vm *pb.Event_VM) {
box = gui.HardBox(gw, gui.Xaxis, txt)
// Add hostname entry box
gui.MakeEntryVbox(box, "hostname:", vm.Hostname, true, "Hostname")
gui.MakeEntryVbox(box, "IPv6:", vm.IPv6, true, "IPv6")
gui.MakeEntryVbox(box, "RAM:", fmt.Sprintf("%d",vm.Memory), true, "Memory")
gui.MakeEntryVbox(box, "CPU:", fmt.Sprintf("%d",vm.Cpus), true, "Cpus")
gui.MakeEntryVbox(box, "hostname:", vm.Hostname, false, "Hostname")
gui.MakeEntryVbox(box, "IPv6:", vm.IPv6, false, "IPv6")
gui.MakeEntryVbox(box, "RAM:", fmt.Sprintf("%d",vm.Memory), false, "Memory")
gui.MakeEntryVbox(box, "CPU:", fmt.Sprintf("%d",vm.Cpus), false, "Cpus")
gui.MakeEntryVbox(box, "Disk (GB):", fmt.Sprintf("%d",vm.Disk), true, "Disk")
gui.MakeEntryVbox(box, "OS Image:", vm.BaseImage, true, "BaseImage")

View File

@ -43,7 +43,7 @@ func login(b *gui.GuiButton) {
log.Println("\tLOGIN WAS OK!", msg)
log.Println("\tLOGIN WAS OK! old button.Account was =", values.Account)
log.Println("\tLOGIN WAS OK! currentMessage.Account =", currentMessage.Account)
if (values.Account.Id == currentMessage.Account.Id) {
if (values.Account.ID == currentMessage.Account.ID) {
if (values.Account.Token != currentMessage.Account.Token) {
log.Println("\tLOGIN SENT NEW TOKEN")
values.Account.Token = currentMessage.Account.Token

View File

@ -1 +1 @@
0.6.44
0.6.45