job region defaults to client node region if 'global' or none provided (#6064)

This commit is contained in:
Jasmine Dahilig
2019-08-05 14:28:02 -07:00
committed by GitHub
parent b6ae5e9d62
commit 692cd9c19e
4 changed files with 33 additions and 8 deletions

View File

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