Skip to content

Commit

Permalink
cmd/dockerd: fix empty-lines (revive)
Browse files Browse the repository at this point in the history
    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>
  • Loading branch information
thaJeztah committed Sep 27, 2022
1 parent cd51c9f commit f63dea4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion cmd/dockerd/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ func newRouterOptions(config *config.Config, d *daemon.Daemon) (routerOptions, e

func (cli *DaemonCli) reloadConfig() {
reload := func(c *config.Config) {

// Revalidate and reload the authorization plugins
if err := validateAuthzPlugins(c.AuthorizationPlugins, cli.d.PluginStore); err != nil {
logrus.Fatalf("Error validating authorization plugin: %v", err)
Expand Down
1 change: 0 additions & 1 deletion cmd/dockerd/trap/trap_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,4 @@ func TestTrap(t *testing.T) {
}
})
}

}

0 comments on commit f63dea4

Please sign in to comment.