Skip to content

Commit 7ee7d76

Browse files
committed
Align code correctly
1 parent 21efb97 commit 7ee7d76

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

controllers/autoscaling_controller.go

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -924,16 +924,13 @@ func (r *AutoscalingReconciler) SetupWithManager(ctx context.Context, mgr ctrl.M
924924
handler.EnqueueRequestsFromMapFunc(transportURLSecretFn)).
925925
Watches(&memcachedv1.Memcached{},
926926
handler.EnqueueRequestsFromMapFunc(memcachedFn)).
927-
Watches(
928-
&corev1.Secret{},
927+
Watches(&corev1.Secret{},
929928
handler.EnqueueRequestsFromMapFunc(r.findObjectsForSrc),
930929
builder.WithPredicates(predicate.ResourceVersionChangedPredicate{}),
931930
).
932-
Watches(
933-
&corev1.Secret{},
931+
Watches(&corev1.Secret{},
934932
handler.EnqueueRequestsFromMapFunc(prometheusEndpointFn)).
935-
Watches(
936-
&topologyv1.Topology{},
933+
Watches(&topologyv1.Topology{},
937934
handler.EnqueueRequestsFromMapFunc(r.findObjectsForSrc),
938935
builder.WithPredicates(predicate.GenerationChangedPredicate{})).
939936
Complete(r)

0 commit comments

Comments
 (0)