Skip to content

Commit

Permalink
client: fix empty-lines (revive)
Browse files Browse the repository at this point in the history
    client/events.go:19:115: empty-lines: extra empty line at the start of a block (revive)
    client/events_test.go:60:31: 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 f71fe84 commit cd51c9f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion client/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import (
// be sent over the error channel. If an error is sent all processing will be stopped. It's up
// to the caller to reopen the stream in the event of an error by reinvoking this method.
func (cli *Client) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error) {

messages := make(chan events.Message)
errs := make(chan error, 1)

Expand Down
1 change: 0 additions & 1 deletion client/events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ func TestEventsErrorFromServer(t *testing.T) {
}

func TestEvents(t *testing.T) {

expectedURL := "/events"

filters := filters.NewArgs()
Expand Down

0 comments on commit cd51c9f

Please sign in to comment.