Skip to content
Snippets Groups Projects
Commit 261b7d8e authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

Merge branch 'hotfix/WestEurope' into 'release'

spelling fix and fix for "WestEurope" vs "WesternEurope"

See merge request elixxir/registration!180
parents bb846aa8 37ae79ef
No related branches found
No related tags found
No related merge requests found
...@@ -251,7 +251,7 @@ func assembleNdf(code string) (ndf.Gateway, ndf.Node, int, error) { ...@@ -251,7 +251,7 @@ func assembleNdf(code string) (ndf.Gateway, ndf.Node, int, error) {
TlsCertificate: nodeInfo.NodeCertificate, TlsCertificate: nodeInfo.NodeCertificate,
} }
jww.INFO.Printf("Node %s (AppID: %d) registed with code %s", nodeID, nodeInfo.ApplicationId, code) jww.INFO.Printf("Node %s (AppID: %d) registered with code %s", nodeID, nodeInfo.ApplicationId, code)
gwID := nodeID.DeepCopy() gwID := nodeID.DeepCopy()
gwID.SetType(id.Gateway) gwID.SetType(id.Gateway)
......
...@@ -156,7 +156,7 @@ func getRegion(region string) (int, error) { ...@@ -156,7 +156,7 @@ func getRegion(region string) (int, error) {
switch region { switch region {
case "Americas": case "Americas":
return Americas, nil return Americas, nil
case "WesternEurope": case "WesternEurope", "WestEurope":
return WesternEurope, nil return WesternEurope, nil
case "CentralEurope": case "CentralEurope":
return CentralEurope, nil return CentralEurope, nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment