mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 05:01:28 +00:00
running code formatter as @tiborvass requested
Signed-off-by: Jimmy Puckett <jimmy.puckett@spinen.com>
This commit is contained in:
+1
-1
@@ -445,7 +445,7 @@ func (daemon *Daemon) setupResolvconfWatcher() error {
|
||||
select {
|
||||
case event := <-watcher.Events:
|
||||
if event.Name == "/etc/resolv.conf" &&
|
||||
(event.Op & (fsnotify.Write | fsnotify.Create) != 0) {
|
||||
(event.Op&(fsnotify.Write|fsnotify.Create) != 0) {
|
||||
// verify a real change happened before we go further--a file write may have happened
|
||||
// without an actual change to the file
|
||||
updatedResolvConf, newResolvConfHash, err := resolvconf.GetIfChanged()
|
||||
|
||||
Reference in New Issue
Block a user