Skip to content

Commit 1ac192f

Browse files
committed
fix linter
Signed-off-by: odubajDT <[email protected]>
1 parent 9c6bdb7 commit 1ac192f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

webhooks/pod_webhook.go

+2
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ func (m *PodMutator) handleRPCConfiguration(ctx context.Context, req admission.R
136136
return 0, nil
137137
}
138138

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

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

0 commit comments

Comments
 (0)