spelling: otherwise
This commit is contained in:
parent
6fa81bc3ff
commit
3c1ce6d16d
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue