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 .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ linters:
- ineffassign
#- lll
#- misspell
#- nolintlint
- nolintlint
#- prealloc
- staticcheck
- stylecheck
Expand Down
4 changes: 2 additions & 2 deletions core/clustersmngr/cluster/delegating_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestDelegatingCacheGet(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)
defer cancel()

go cache.Start(ctx) //nolint:errcheck
go cache.Start(ctx)

if ok := cache.WaitForCacheSync(ctx); !ok {
g.Fail("failed syncing client cache")
Expand Down Expand Up @@ -59,7 +59,7 @@ func TestDelegatingCacheList(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)
defer cancel()

go cache.Start(ctx) //nolint:errcheck
go cache.Start(ctx)

if ok := cache.WaitForCacheSync(ctx); !ok {
g.Fail("failed syncing client cache")
Expand Down
2 changes: 1 addition & 1 deletion pkg/run/install/apply_manifests.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func NewManager(ctx context.Context, log logger.Logger, kubeClient ctrlclient.Cl
}

// apply is the equivalent of 'kubectl apply --server-side -f'.
func apply(ctx context.Context, log logger.Logger, manager ResourceManagerForApply, manifestsContent []byte) (string, error) { // nolint:unparam
func apply(ctx context.Context, log logger.Logger, manager ResourceManagerForApply, manifestsContent []byte) (string, error) { //nolint:unparam
objs, err := utils.ReadObjects(bytes.NewReader(manifestsContent))
if err != nil {
log.Failuref("Error reading Kubernetes objects from the manifests")
Expand Down