Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Shastick committed Sep 2, 2024
1 parent e7103e2 commit 47e45c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scd/operational_intents_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ func validateUpsertRequestAgainstPreviousOIR(
return nil
}

func incrementIndicesAndGetRelevantSubscriptions(
func getRelevantSubscriptionsAndIncrementIndices(
ctx context.Context,
r repos.Repository,
previousOIR *scdmodels.OperationalIntent,
Expand Down Expand Up @@ -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")
}
Expand Down

0 comments on commit 47e45c3

Please sign in to comment.