feat: add hk endpoint support for osc builder (#10207)
This commit is contained in:
parent
9ec55d3cd7
commit
8b5e2903b9
|
@ -47,6 +47,11 @@ func (c *AccessConfig) NewOSCClient() *osc.APIClient {
|
|||
|
||||
if c.CustomEndpointOAPI == "" {
|
||||
c.CustomEndpointOAPI = "outscale.com/oapi/latest"
|
||||
|
||||
if c.RawRegion == "cn-southeast-1" {
|
||||
c.CustomEndpointOAPI = "outscale.hk/oapi/latest"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if c.X509certPath == "" {
|
||||
|
|
Loading…
Reference in New Issue