Skip to content
Snippets Groups Projects
Commit b736e80f authored by Florent Gluck's avatar Florent Gluck
Browse files

Ongoing work on tplEdit

parent f8ac89e0
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ func (cmd *Edit)Run(args []string) int { ...@@ -68,7 +68,7 @@ func (cmd *Edit)Run(args []string) int {
statusCode = 1 statusCode = 1
} else { } else {
if resp.IsSuccess() { if resp.IsSuccess() {
u.Println("Edited template \""+tplID+"\"") u.Println("Successfully edited template \""+tplID+"\"")
} else { } else {
u.PrintlnErr("Failed editing template \""+tplID+"\": "+resp.Status()+": "+resp.String()) u.PrintlnErr("Failed editing template \""+tplID+"\": "+resp.Status()+": "+resp.String())
statusCode = 1 statusCode = 1
......
...@@ -88,7 +88,7 @@ func (cmd *Edit)Run(args []string) int { ...@@ -88,7 +88,7 @@ func (cmd *Edit)Run(args []string) int {
statusCode = 1 statusCode = 1
} else { } else {
if resp.IsSuccess() { if resp.IsSuccess() {
u.Println("Edited VM \""+vm.Name+"\"") u.Println("Successfully edited VM \""+vm.Name+"\"")
} else { } else {
u.PrintlnErr("Failed editing VM \""+vm.Name+"\": "+resp.Status()+": "+resp.String()) u.PrintlnErr("Failed editing VM \""+vm.Name+"\": "+resp.Status()+": "+resp.String())
statusCode = 1 statusCode = 1
......
...@@ -7,8 +7,8 @@ import ( ...@@ -7,8 +7,8 @@ import (
const ( const (
major = 1 major = 1
minor = 2 minor = 3
bugfix = 2 bugfix = 0
) )
type Version struct { type Version struct {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment