This commit is contained in:
Edin Dazdarevic
2015-05-29 21:15:49 +02:00

View File

@@ -2,6 +2,7 @@ package main
import (
"encoding/json"
"fmt"
"github.com/edindazdarevic/confighub/chub/client"
"github.com/edindazdarevic/confighub/chub/globals"
homedir "github.com/mitchellh/go-homedir"
@@ -9,7 +10,6 @@ import (
"os"
"path/filepath"
"runtime"
"fmt"
)
func initCommand(guid string) {
@@ -22,7 +22,7 @@ func initCommand(guid string) {
machineToInitialize := client.Machine{hostname, runtime.GOOS, runtime.GOARCH, guid}
finishedOk := client.Init(&machineToInitialize)
if (finishedOk) {
if finishedOk {
fmt.Printf("Successfuly initialized the machine with id %v\n", guid)
}