Skip to content

Commit

Permalink
Merge pull request #243 from lenny-intel/config-fix
Browse files Browse the repository at this point in the history
fix: Fix issue with wrong name used to load custom config
  • Loading branch information
cloudxxx8 authored Mar 11, 2024
2 parents 77e0359 + e4b0be0 commit b5c3593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application-services/custom/influxdb-export/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func main() {

// 3) Load the MQTT custom configuration
config := &ServiceConfig{}
if err := service.LoadCustomConfig(config, "MqttSecretConfig"); err != nil {
if err := service.LoadCustomConfig(config, "MqttConfig"); err != nil {
lc.Errorf("LoadCustomConfig failed: %s", err.Error())
os.Exit(-1)
}
Expand Down

0 comments on commit b5c3593

Please sign in to comment.