spelling: otherwise

This commit is contained in:
Josh Soref 2018-03-11 18:34:27 +00:00
parent 6fa81bc3ff
commit 3c1ce6d16d
2 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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