File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
cmd/compute-domain-daemon Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -334,11 +334,13 @@ func IMEXDaemonUpdateLoopWithDNSNames(ctx context.Context, controller *Controlle
334334
335335 dnsNameManager .LogDNSNameMappings ()
336336
337- // TODO: review skipping this also if the new set of IP addresses
338- // only strictly removes addresses compared to the old set (then we
339- // don't need to force the daemon to re-resolve & re-connect).
337+ // Skip sending SIGUSR1 when the process is fresh (has newly been
338+ // created) or when thiss was a noop update. TODO: review skipping
339+ // this also if the new set of IP addresses only strictly removes
340+ // addresses compared to the old set (then we don't need to force
341+ // the daemon to re-resolve & re-connect).
340342 if ! updated || fresh {
341- return nil
343+ continue
342344 }
343345
344346 // Actively ask the IMEX daemon to re-read its config and to
You can’t perform that action at this time.
0 commit comments