diff --git a/client/client.go b/client/client.go index 90f7dbdb0..7602f73ee 100644 --- a/client/client.go +++ b/client/client.go @@ -336,7 +336,7 @@ func (c *Client) init() error { } } else { - // Othewise make a temp directory to use. + // Otherwise make a temp directory to use. p, err := ioutil.TempDir("", "NomadClient") if err != nil { return fmt.Errorf("failed creating temporary directory for the StateDir: %v", err) @@ -364,7 +364,7 @@ func (c *Client) init() error { return fmt.Errorf("failed creating alloc dir: %s", err) } } else { - // Othewise make a temp directory to use. + // Otherwise make a temp directory to use. p, err := ioutil.TempDir("", "NomadClient") if err != nil { return fmt.Errorf("failed creating temporary directory for the AllocDir: %v", err) diff --git a/command/agent/consul/client.go b/command/agent/consul/client.go index 5ae306e6d..ea38c19ac 100644 --- a/command/agent/consul/client.go +++ b/command/agent/consul/client.go @@ -221,7 +221,7 @@ type ServiceClient struct { agentChecks map[string]struct{} agentLock sync.Mutex - // seen is 1 if Consul has ever been seen; otherise 0. Accessed with + // seen is 1 if Consul has ever been seen; otherwise 0. Accessed with // atomics. seen int32