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
5 changes: 3 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ run:
linters:
default: none
enable:
- misspell
- ginkgolinter
- govet
- ineffassign
- misspell
- modernize
- revive
- unconvert
- unused
- govet
settings:
govet:
enable:
Expand Down
2 changes: 1 addition & 1 deletion manager/csi/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ var _ = Describe("Plugin manager", func() {
})

It("should not call CreateVolume", func() {
Expect(controller.createVolumeRequests).To(HaveLen(0))
Expect(controller.createVolumeRequests).To(BeEmpty())
})

It("should not return an error", func() {
Expand Down
2 changes: 1 addition & 1 deletion manager/orchestrator/jobs/replicated/reconciler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ var _ = Describe("Replicated Job reconciler", func() {

It("should use the cluster to set the default log driver", func() {
tasks := AllTasks(s)
Expect(len(tasks) >= 1).To(BeTrue())
Expect(tasks).ToNot(BeEmpty())

Expect(tasks[0].LogDriver).To(Equal(cluster.Spec.TaskDefaults.LogDriver))
})
Expand Down