events are in cluster.E
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
97e8fb3fed
commit
123f64f56c
13
create.go
13
create.go
|
@ -35,14 +35,13 @@ func createFilename(dir string, filename string) error {
|
|||
|
||||
url := urlbase + "/create"
|
||||
|
||||
body, err := postDropletJSON(url, newDroplet)
|
||||
if err != nil {
|
||||
log.Info("postDropletJSON() failed:", err)
|
||||
return err
|
||||
}
|
||||
// body, err := postDropletJSON(url, newDroplet)
|
||||
// if err != nil {
|
||||
// log.Info("postDropletJSON() failed:", err)
|
||||
// return err
|
||||
// }
|
||||
|
||||
// TODO: try this and use this instead
|
||||
body, err = postDropletWIRE(url, newDroplet)
|
||||
body, err := postDropletWIRE(url, newDroplet)
|
||||
if err != nil {
|
||||
log.Info("postDropletJSON() failed:", err)
|
||||
return err
|
||||
|
|
2
main.go
2
main.go
|
@ -55,7 +55,7 @@ func main() {
|
|||
log.Info("create failed", err)
|
||||
os.Exit(-1)
|
||||
}
|
||||
log.Info("create worked")
|
||||
log.Info("virtigoctl create end")
|
||||
os.Exit(0)
|
||||
}
|
||||
if argv.Start != nil {
|
||||
|
|
Loading…
Reference in New Issue