This commit is contained in:
crusader 2018-06-13 19:45:06 +09:00
parent 61644fd5e4
commit 19dfca7aa5
2 changed files with 5 additions and 4 deletions

8
Gopkg.lock generated
View File

@ -33,7 +33,7 @@
"protocol",
"registry"
]
revision = "1092f7a7ae44ef2f907579af217f1a594e48959c"
revision = "dcc3af07239b3f6fcbae3529bcb52c522b02053d"
[[projects]]
branch = "master"
@ -59,7 +59,7 @@
"time/scheduler/storage",
"time/scheduler/task"
]
revision = "1966a985759721fd451171a78a0b8f4524afc644"
revision = "4d4017d214d2a8fdde59d774254f421991fabe7e"
[[projects]]
branch = "master"
@ -69,15 +69,15 @@
"config/probe",
"core/annotation",
"core/config",
"core/constants",
"core/interfaces",
"core/util",
"model/data",
"model/discovery",
"model/meta",
"model/sensorconfig",
"service/probe"
]
revision = "078a39712d33c131303cf2705cca185da18cc196"
revision = "846c510a1ae54597ef1b1589613dfca7a3f7a3ed"
[[projects]]
branch = "master"

View File

@ -99,6 +99,7 @@ func (s *SensorConfigService) UpdateConfig(sensorConfig *ocmsc.SensorConfig) err
if err := s.CollectorService.RemoveSensorConfigs([]*ocmsc.SensorConfig{sensorConfig}); nil != err {
return err
}
if err := s.CollectorService.AddSensorConfigs([]*ocmsc.SensorConfig{sensorConfig}); nil != err {
return err
}