Skip to content

Commit 1aebf73

Browse files
authored
Merge pull request #180 from thin-edge/fix-cumulocity-port-setting
fix: fix incorrect configuration name reference for cumulocity port
2 parents ccae2c9 + 1f19654 commit 1aebf73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cli/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ func (c *Cli) GetCumulocityHost() string {
225225
}
226226

227227
func (c *Cli) GetCumulocityPort() uint16 {
228-
v := viper.GetUint16("monitor.c8y.proxy.client..port")
228+
v := viper.GetUint16("client.c8y.port")
229229
if v == 0 {
230230
return 8001
231231
}

0 commit comments

Comments
 (0)