ing
This commit is contained in:
parent
61644fd5e4
commit
19dfca7aa5
8
Gopkg.lock
generated
8
Gopkg.lock
generated
|
@ -33,7 +33,7 @@
|
||||||
"protocol",
|
"protocol",
|
||||||
"registry"
|
"registry"
|
||||||
]
|
]
|
||||||
revision = "1092f7a7ae44ef2f907579af217f1a594e48959c"
|
revision = "dcc3af07239b3f6fcbae3529bcb52c522b02053d"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
"time/scheduler/storage",
|
"time/scheduler/storage",
|
||||||
"time/scheduler/task"
|
"time/scheduler/task"
|
||||||
]
|
]
|
||||||
revision = "1966a985759721fd451171a78a0b8f4524afc644"
|
revision = "4d4017d214d2a8fdde59d774254f421991fabe7e"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
|
@ -69,15 +69,15 @@
|
||||||
"config/probe",
|
"config/probe",
|
||||||
"core/annotation",
|
"core/annotation",
|
||||||
"core/config",
|
"core/config",
|
||||||
"core/constants",
|
|
||||||
"core/interfaces",
|
"core/interfaces",
|
||||||
"core/util",
|
"core/util",
|
||||||
"model/data",
|
"model/data",
|
||||||
"model/discovery",
|
"model/discovery",
|
||||||
|
"model/meta",
|
||||||
"model/sensorconfig",
|
"model/sensorconfig",
|
||||||
"service/probe"
|
"service/probe"
|
||||||
]
|
]
|
||||||
revision = "078a39712d33c131303cf2705cca185da18cc196"
|
revision = "846c510a1ae54597ef1b1589613dfca7a3f7a3ed"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
|
|
|
@ -99,6 +99,7 @@ func (s *SensorConfigService) UpdateConfig(sensorConfig *ocmsc.SensorConfig) err
|
||||||
if err := s.CollectorService.RemoveSensorConfigs([]*ocmsc.SensorConfig{sensorConfig}); nil != err {
|
if err := s.CollectorService.RemoveSensorConfigs([]*ocmsc.SensorConfig{sensorConfig}); nil != err {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := s.CollectorService.AddSensorConfigs([]*ocmsc.SensorConfig{sensorConfig}); nil != err {
|
if err := s.CollectorService.AddSensorConfigs([]*ocmsc.SensorConfig{sensorConfig}); nil != err {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user