Skip to content

Commit

Permalink
Use config get instead of dot separator
Browse files Browse the repository at this point in the history
  • Loading branch information
madhuravi committed Mar 20, 2017
1 parent 55beb58 commit e8bdf64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/task/cherami/cherami.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func createClientConfig(host service.Host) (clientConfig, error) {
config.ConsumerGroup = _pathPrefix + host.Name() + "_cg"
// Preference to keys specified in config, they will be over-written
// TODO: Might change based on module naming decision from fx public
err := host.Config().Get("modules.task.cherami").Populate(&config)
err := host.Config().Get("modules").Get("task").Get("cherami").Populate(&config)
return config, err
}

Expand Down

0 comments on commit e8bdf64

Please sign in to comment.