Skip to content

Commit

Permalink
Linter: godox
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiss, Tibor committed Feb 23, 2024
1 parent d1be6fa commit 4fa9b53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ linters:
- errchkjson
- perfsprint
- noctx
- godox

linters-settings:
gomoddirectives:
Expand Down
1 change: 1 addition & 0 deletions internal/controller/nats/deprovisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ func (r *Reconciler) deletePVCsAndRemoveFinalizer(ctx context.Context,
nats *nmapiv1alpha1.NATS, log *zap.SugaredLogger,
) (kcontrollerruntime.Result, error) {
labelValue := nats.Name
//nolint: godox
// TODO: delete the following logic after migrating to modular Kyma
if nats.Name == "eventing-nats" {
labelValue = "eventing"
Expand Down

0 comments on commit 4fa9b53

Please sign in to comment.