From 47e45c3cf7b1d0a55eee053b2d72eee690c53f31 Mon Sep 17 00:00:00 2001 From: Julien Perrochet Date: Mon, 2 Sep 2024 09:30:48 +0200 Subject: [PATCH] comment --- pkg/scd/operational_intents_handler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/scd/operational_intents_handler.go b/pkg/scd/operational_intents_handler.go index 1235c94af..a3112f516 100644 --- a/pkg/scd/operational_intents_handler.go +++ b/pkg/scd/operational_intents_handler.go @@ -517,7 +517,7 @@ func validateUpsertRequestAgainstPreviousOIR( return nil } -func incrementIndicesAndGetRelevantSubscriptions( +func getRelevantSubscriptionsAndIncrementIndices( ctx context.Context, r repos.Repository, previousOIR *scdmodels.OperationalIntent, @@ -815,7 +815,7 @@ func (a *Server) upsertOperationalIntentReference(ctx context.Context, authorize } // Notify relevant Subscriptions - subsToNotify, err := incrementIndicesAndGetRelevantSubscriptions(ctx, r, old, validParams.uExtent) + subsToNotify, err := getRelevantSubscriptionsAndIncrementIndices(ctx, r, old, validParams.uExtent) if err != nil { return stacktrace.Propagate(err, "Failed to notify relevant Subscriptions") }