fix formatting build requirements
This commit is contained in:
1 parent
38622ad59d
commit
01ffc4db0a
2 files changed
+2
-2
No files matched your search
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user