mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
job region defaults to client node region if 'global' or none provided (#6064)
This commit is contained in:
@@ -453,8 +453,8 @@ func (c *Client) getNodeClientImpl(nodeID string, timeout time.Duration, q *Quer
|
||||
// If the client is configured for a particular region use that
|
||||
region = c.config.Region
|
||||
default:
|
||||
// No region information is given so use the default.
|
||||
region = "global"
|
||||
// No region information is given so use GlobalRegion as the default.
|
||||
region = GlobalRegion
|
||||
}
|
||||
|
||||
// Get an API client for the node
|
||||
|
||||
Reference in New Issue
Block a user