Skip to content

Commit cca1696

Browse files
committed
global config watch
1 parent 03c4a72 commit cca1696

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

netplugin/agent/agent.go

+2
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ func (ag *Agent) HandleEvents() error {
190190

191191
go handleSvcProviderUpdEvents(ag.netPlugin, opts, recvErr)
192192

193+
go handleGlobalCfgEvents(ag.netPlugin, opts, recvErr)
194+
193195
if ag.pluginConfig.Instance.PluginMode == "docker" {
194196
// watch for docker events
195197
docker, _ := dockerclient.NewDockerClient("unix:///var/run/docker.sock", nil)

0 commit comments

Comments
 (0)