Skip to content

Commit

Permalink
plugin: fix empty-lines (revive)
Browse files Browse the repository at this point in the history
    plugin/v2/settable_test.go:24:29: empty-lines: extra empty line at the end of a block (revive)
    plugin/manager_linux.go:96:6: empty-lines: extra empty line at the end of a block (revive)
    plugin/backend_linux.go:373:16: 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 188724a commit 4eb9b5f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion plugin/backend_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ func (pm *Manager) Push(ctx context.Context, name string, metaHeader http.Header

pusher, err := resolver.Pusher(ctx, ref.String())
if err != nil {

return errors.Wrap(err, "error creating plugin pusher")
}

Expand Down
1 change: 0 additions & 1 deletion plugin/manager_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ func (pm *Manager) pluginPostStart(p *v2.Plugin, c *controller) error {
shutdownPlugin(p, c.exitChan, pm.executor)
return err
}

}
pm.config.Store.SetState(p, true)
pm.config.Store.CallHandler(p)
Expand Down
1 change: 0 additions & 1 deletion plugin/v2/settable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ func TestNewSettable(t *testing.T) {
if s.value != c.value {
t.Fatalf("expected value to be %q, got %q", c.value, s.value)
}

}
}

Expand Down

0 comments on commit 4eb9b5f

Please sign in to comment.