diff options
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/config.go b/config/config.go index b31551f..fddc3f0 100644 --- a/config/config.go +++ b/config/config.go @@ -12,7 +12,7 @@ import ( type ( Config struct { - Broker string + BrokerURI string MACsByTopic map[string]net.HardwareAddr } @@ -46,7 +46,7 @@ func ParseFile(path string) (*Config, error) { func configFromConfig(raw config) *Config { c := &Config{ - Broker: raw.MQTTBroker, + BrokerURI: raw.MQTTBroker, MACsByTopic: map[string]net.HardwareAddr{}, } |