Skip to content

Commit 4511b0a

Browse files
committed
Added us-chicago-1 OCI region
1 parent b0824ab commit 4511b0a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
77

88
### Added
99
- New GetBinary() convenience function
10-
- Latest Oracle Cloud Infrastructure regions and region codes: TIW, BYG
10+
- Latest Oracle Cloud Infrastructure regions and region codes: TIW, BYG, ORD
1111

1212
### Fixed
1313
- Fix for ARM64 compatibility issue #8

nosqldb/common/region.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ const (
2525
RegionPHX Region = "us-phoenix-1"
2626
// RegionUSSanJose1 represents the region for US West (San Jose).
2727
RegionUSSanJose1 Region = "us-sanjose-1"
28+
// RegionUSChicago1 represents the region for US Central (Chicago).
29+
RegionUSChicago1 Region = "us-chicago-1"
2830
// RegionCAMontreal1 represents the region for Canada Southeast (Montreal).
2931
RegionCAMontreal1 Region = "ca-montreal-1"
3032
// RegionCAToronto1 represents the region for Canada Southeast (Toronto).
@@ -142,7 +144,7 @@ var realm = map[string]string{
142144
"oc2": "oraclegovcloud.com",
143145
"oc3": "oraclegovcloud.com",
144146
"oc4": "oraclegovcloud.uk",
145-
"oc5": "oraclerealm5.com",
147+
"oc5": "oraclecloud5.com",
146148
"oc8": "oraclecloud8.com",
147149
"oc9": "oraclecloud9.com",
148150
"oc10": "oraclecloud10.com",
@@ -155,6 +157,7 @@ var regionRealm = map[Region]string{
155157
RegionFRA: "oc1",
156158
RegionLHR: "oc1",
157159
RegionUSSanJose1: "oc1",
160+
RegionUSChicago1: "oc1",
158161
RegionUKCardiff1: "oc1",
159162
RegionCAToronto1: "oc1",
160163
RegionCAMontreal1: "oc1",
@@ -210,6 +213,7 @@ var shortNameRegion = map[string]Region{
210213
"phx": RegionPHX,
211214
"iad": RegionIAD,
212215
"sjc": RegionUSSanJose1,
216+
"ord": RegionUSChicago1,
213217
"fra": RegionFRA,
214218
"lhr": RegionLHR,
215219
"cwl": RegionUKCardiff1,

0 commit comments

Comments
 (0)