From 84277e6d6aa47b35f2cd9c284e0dbd3c2d3e746f Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 11 Mar 2018 18:34:27 +0000 Subject: [PATCH] spelling: otherwise --- client/client.go | 4 ++-- command/agent/consul/client.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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