fix: remove obsolete attributes from config.json

changes:
- removed unused attributes from config.json
This commit is contained in:
volker.raschek committed 2020-09-07 19:12:30 +02:00
1 parent c279d288b4
commit 7cbd80c726
5 files changed
+18 -234

No files matched your search

+2 -2
View File
@@ -164,7 +164,7 @@ func addSensor(cmd *cobra.Command, args []string) error {
return err
}
sensor.DeviceID = cnf.Device.ID
sensor.DeviceID = cnf.DeviceID
dsnURL, err := url.Parse(cnf.DSN)
if err != nil {
@@ -292,7 +292,7 @@ func listSensors(cmd *cobra.Command, args []string) error {
}
// add sensor entry to list
sensors, err := repo.GetSensorsByDeviceID(cnf.Device.ID)
sensors, err := repo.GetSensorsByDeviceID(cnf.DeviceID)
if err != nil {
return err
}