Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint_golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9
with:
version: v2.13.2
version: v2.15.0
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ linters:
disabled: true
- name: package-naming
disabled: true
- name: multiline-if-init
disabled: true
- name: marshal-receiver
disabled: true
exclusions:
generated: lax
presets:
Expand Down
2 changes: 1 addition & 1 deletion scheduler/strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (s *Strategy) Validate() error {
return nil
}
}
return fmt.Errorf("unknown scheduler strategy: %d", s)
return fmt.Errorf("unknown scheduler strategy: %d", *s)
}

func (Strategy) JSONSchema() *jsonschema.Schema {
Expand Down
2 changes: 1 addition & 1 deletion writers/streamingbatchwriter/flush_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func TestFlushMessageCancelledDuringCommit(t *testing.T) {
close(ch)

select {
case <-errCh:
case <-errCh: //nolint:errcheck // only checks that Write returns
case <-time.After(5 * time.Second):
t.Fatal("Write did not return after the flush was cancelled")
}
Expand Down
Loading