1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

cmd/dockerd: fix empty-lines (revive)

cmd/dockerd/trap/trap_linux_test.go:29:29: empty-lines: extra empty line at the end of a block (revive)
    cmd/dockerd/daemon.go:327:35: empty-lines: extra empty line at the start of a block (revive)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit f63dea4337)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2022-09-23 22:36:03 +02:00
parent 3a1896db63
commit 24888a10f6
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
2 changed files with 0 additions and 2 deletions

View file

@ -323,7 +323,6 @@ func newRouterOptions(config *config.Config, d *daemon.Daemon) (routerOptions, e
func (cli *DaemonCli) reloadConfig() { func (cli *DaemonCli) reloadConfig() {
reload := func(c *config.Config) { reload := func(c *config.Config) {
// Revalidate and reload the authorization plugins // Revalidate and reload the authorization plugins
if err := validateAuthzPlugins(c.AuthorizationPlugins, cli.d.PluginStore); err != nil { if err := validateAuthzPlugins(c.AuthorizationPlugins, cli.d.PluginStore); err != nil {
logrus.Fatalf("Error validating authorization plugin: %v", err) logrus.Fatalf("Error validating authorization plugin: %v", err)

View file

@ -62,5 +62,4 @@ func TestTrap(t *testing.T) {
} }
}) })
} }
} }