Merge branch 'master' of https://github.com/edazdarevic/confighub
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user