fix formatting build requirements

This commit is contained in:
Travis Nielsen committed 2016-09-26 15:30:34 -07:00
1 parent 38622ad59d
commit 01ffc4db0a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ type NodeConfig struct {
Memory MemoryConfig `json:"memory"`
NetworkAdapters []NetworkConfig `json:"networkAdapters"`
IPAddress string `json:"ipAddr"`
HeartbeatAge time.Duration `json:heartbeatAge`
HeartbeatAge time.Duration `json:"heartbeatAge"`
}
type DiskConfig struct {
+1 -1
View File
@@ -114,7 +114,7 @@ func loadNodeHealth(etcdClient etcd.KeysAPI, nodes map[string]*NodeConfig) error
err := loadSingleNodeHealth(nodeConfig, health)
if err != nil {
return fmt.Errorf("failed to load health for node %s. %v", nodeID)
return fmt.Errorf("failed to load health for node %s. %v", nodeID, err)
}
}