Skip to content

Commit

Permalink
Merge pull request #43 from jyong2kim/Discovery_SyncUp
Browse files Browse the repository at this point in the history
Add Sync up of Discovery result
  • Loading branch information
mgjeong authored Sep 26, 2019
2 parents aa027d0 + 8ca939f commit 188e7ea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/controller/discoverymgr/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ func (discoveryImpl) StartDiscovery(UUIDpath string, platform string, executionT

go detectNetworkChgRoutine()

go func() {
for {
time.Sleep(time.Minute)
activeDiscovery()
}
}()

return
}

Expand Down

0 comments on commit 188e7ea

Please sign in to comment.