spellcheck: Fix spelling of retrieve

This commit is contained in:
Danielle Lancashire
2019-08-16 15:03:42 +02:00
committed by Seth Hoenig
parent 8bb27f7eeb
commit 5efa8994b9
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ func newNetworkManager(alloc *structs.Allocation, driverManager drivermanager.Ma
caps, err := driver.Capabilities()
if err != nil {
return nil, fmt.Errorf("failed to retrive capabilities for driver %s: %v",
return nil, fmt.Errorf("failed to retrieve capabilities for driver %s: %v",
task.Driver, err)
}

View File

@@ -253,7 +253,7 @@ func (n *NodeDrainer) handleDeadlinedNodes(nodes []string) {
allocs, err := draining.RemainingAllocs()
if err != nil {
n.logger.Error("failed to retrive allocs on deadlined node", "node_id", node, "error", err)
n.logger.Error("failed to retrieve allocs on deadlined node", "node_id", node, "error", err)
continue
}