@@ -473,7 +473,7 @@ func (m *Manager) resolveGCPProvider(ctx context.Context, account config.CloudAc
473473
474474// getMaxAccountParallelism is a thin alias over the shared
475475// execution.ConcurrencyFromEnv so the purchase manager and the scheduler
476- // both honour the same CUDLY_MAX_ACCOUNT_PARALLELISM override.
476+ // both honor the same CUDLY_MAX_ACCOUNT_PARALLELISM override.
477477func getMaxAccountParallelism () int {
478478 return execution .ConcurrencyFromEnv ()
479479}
@@ -648,7 +648,7 @@ func recordHistoryAuditGap(exec *config.PurchaseExecution, commitmentID string,
648648// token and the provider dedupes the purchase. It falls back to ExecutionID
649649// only for legacy rows persisted before migration 000066 (IdempotencyKey == "");
650650// for a single un-retried execution that fallback is identical to the pre-fix
651- // behaviour , and such legacy rows never gain a retry successor that could
651+ // behavior , and such legacy rows never gain a retry successor that could
652652// diverge (the retry handler seeds the successor's key from the predecessor's
653653// ExecutionID in that case, preserving the match).
654654func idempotencyLineageKey (exec * config.PurchaseExecution ) string {
@@ -812,7 +812,7 @@ func (m *Manager) buildPurchaseConfirmationData(exec *config.PurchaseExecution,
812812}
813813
814814// logRecCtxErr emits a diagnostic log line when a per-recommendation context has
815- // been cancelled or timed out. It distinguishes DeadlineExceeded (the 30s per-rec
815+ // been canceled or timed out. It distinguishes DeadlineExceeded (the 30s per-rec
816816// budget fired) from Canceled (a parent context stopped the execution) so that
817817// CloudWatch filters can tell the two apart without parsing error strings.
818818// It is a no-op when recCtxErr is nil.
@@ -958,8 +958,8 @@ func (m *Manager) executeSinglePurchase(ctx context.Context, rec config.Recommen
958958// mapServiceType maps a service string to common.ServiceType. Both the
959959// canonical hyphenated slugs (compute, relational-db, cache, search,
960960// data-warehouse) and the legacy AWS-only slugs (ec2, rds, elasticache,
961- // opensearch, redshift, memorydb) are recognised ; everything else passes
962- // through verbatim. Savings Plans slugs are normalised by mapSavingsPlansSlug.
961+ // opensearch, redshift, memorydb) are recognized ; everything else passes
962+ // through verbatim. Savings Plans slugs are normalized by mapSavingsPlansSlug.
963963func (m * Manager ) mapServiceType (service string ) common.ServiceType {
964964 if svc , ok := mapSavingsPlansSlug (service ); ok {
965965 return svc
@@ -1009,7 +1009,7 @@ func mapServiceSlug(service string) (common.ServiceType, bool) {
10091009 return svc , ok
10101010}
10111011
1012- // mapSavingsPlansSlug normalises both the canonical hyphenated SP slugs and
1012+ // mapSavingsPlansSlug normalizes both the canonical hyphenated SP slugs and
10131013// the dash-free spellings the frontend has historically sent into the
10141014// matching common.ServiceType. The map covers the legacy umbrella plus the
10151015// four per-plan-type slugs in both spellings — pulled out of mapServiceType
0 commit comments