Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
  • Loading branch information
odubajDT committed May 23, 2024
1 parent 9c6bdb7 commit 1ac192f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webhooks/pod_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ func (m *PodMutator) handleRPCConfiguration(ctx context.Context, req admission.R
return 0, nil
}

// nolint:dupl
func (m *PodMutator) createFSConfigSpec(ctx context.Context, req admission.Request, annotations map[string]string, pod *corev1.Pod) (*api.FeatureFlagSourceSpec, int32, error) {
// Check configuration
fscNames := []string{}
Expand Down Expand Up @@ -163,6 +164,7 @@ func (m *PodMutator) createFSConfigSpec(ctx context.Context, req admission.Reque
return featureFlagSourceSpec, 0, nil
}

// nolint:dupl
func (m *PodMutator) createFSInProcessConfigSpec(ctx context.Context, req admission.Request, annotations map[string]string, pod *corev1.Pod) (*api.FeatureFlagInProcessConfigurationSpec, int32, error) {
// Check configuration
fscNames := []string{}
Expand Down

0 comments on commit 1ac192f

Please sign in to comment.