fix config

This commit is contained in:
Wlad Meixner 2019-02-09 17:16:01 +01:00
parent 41a3c0ba41
commit 2bacde12f2

View File

@ -9,10 +9,10 @@ import (
// Config hue api config
type Config struct {
Username string `yaml:name`
Password string `yaml:userpassword`
BridgeAddr string `yaml:bridgeAddress`
BridgeAddrScheme string `yaml:bridgeAddressScheme`
Username string `yaml:"name"`
Password string `yaml:"userpassword"`
BridgeAddr string `yaml:"bridgeAddress"`
BridgeAddrScheme string `yaml:"bridgeAddressScheme"`
}
// createNewUser will create a new user. This should be called only of there's none in the yaml config.