Skip to content

Commit 5340550

Browse files
authored
Merge pull request wso2#1139 from dushaniw/temp-fix
fix connection issue from GW to platform API
2 parents 06b183f + 2f07326 commit 5340550

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • gateway/gateway-controller/pkg/config

gateway/gateway-controller/pkg/config/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,9 @@ func LoadConfig(configPath string) (*Config, error) {
403403

404404
// Custom mappings for control plane variables
405405
switch s {
406-
case "controlplane_host":
406+
case "controller_controlplane_host":
407407
return "controller.controlplane.host"
408-
case "gateway_registration_token":
408+
case "registration_token":
409409
return "controller.controlplane.token"
410410
case "reconnect_initial":
411411
return "controller.controlplane.reconnect_initial"

0 commit comments

Comments
 (0)