Skip to content

Commit

Permalink
fix(metrics router) Added new region eu-es
Browse files Browse the repository at this point in the history
  • Loading branch information
ADYA NAND JHA authored and ADYA NAND JHA committed Sep 25, 2023
1 parent f682cef commit 3bb3774
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions metricsrouterv3/metrics_router_v3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,14 @@ var _ = Describe(`MetricsRouterV3`, func() {
Expect(url).To(Equal("https://private.eu-gb.metrics-router.cloud.ibm.com/api/v3"))
Expect(err).To(BeNil())

url, err = metricsrouterv3.GetServiceURLForRegion("eu-es")
Expect(url).To(Equal("https://eu-es.metrics-router.cloud.ibm.com/api/v3"))
Expect(err).To(BeNil())

url, err = metricsrouterv3.GetServiceURLForRegion("private.eu-es")
Expect(url).To(Equal("https://private.eu-es.metrics-router.cloud.ibm.com/api/v3"))
Expect(err).To(BeNil())

url, err = metricsrouterv3.GetServiceURLForRegion("us-east")
Expect(url).To(Equal("https://us-east.metrics-router.cloud.ibm.com/api/v3"))
Expect(err).To(BeNil())
Expand Down

0 comments on commit 3bb3774

Please sign in to comment.