Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
oksana-grishchenko committed Jan 22, 2025
1 parent 06c0a77 commit 50fd306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/controller/providers/psmdb/applier.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func (p *applier) Paused(paused bool) {
p.PerconaServerMongoDB.Spec.Pause = paused
}

//nolint:staticcheck //using deprecated field for backward compatibility
func (p *applier) AllowUnsafeConfig() {
p.PerconaServerMongoDB.Spec.UnsafeConf = false
useInsecureSize := p.DB.Spec.Engine.Replicas == 1 || p.DB.Spec.AllowUnsafeConfiguration
Expand Down

0 comments on commit 50fd306

Please sign in to comment.