git fmting

This commit is contained in:
Senad Uka
2015-05-29 21:10:33 +02:00
parent aa0b472cb1
commit bde9231b53

View File

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