Parcourir la source

dockerd: update reload signal comment

Signed-off-by: Wei Fu <fuweid89@gmail.com>
Wei Fu il y a 6 ans
Parent
commit
dbb5da7fcd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      cmd/dockerd/daemon_unix.go

+ 1 - 1
cmd/dockerd/daemon_unix.go

@@ -76,7 +76,7 @@ func (cli *DaemonCli) getPlatformContainerdDaemonOpts() ([]supervisor.DaemonOpt,
 	return opts, nil
 }
 
-// setupConfigReloadTrap configures the USR2 signal to reload the configuration.
+// setupConfigReloadTrap configures the SIGHUP signal to reload the configuration.
 func (cli *DaemonCli) setupConfigReloadTrap() {
 	c := make(chan os.Signal, 1)
 	signal.Notify(c, unix.SIGHUP)