mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-11-29 07:18:47 +00:00
refactor: Replace unused context parameters with blank identifiers and fix variable references
- Replace ctx parameter with _ in provisionTenantContext, provisionDatabaseSchema, provisionStorageResources, configureCarrier, configureRatePlans, setupPaymentProcessing, and validateCompliance methods - Fix tenant_id scope to use wrappedTx.tenantID instead of r.tenantID in TenantScopedTransaction - Fix pricing effectiveness analytics to use ratePlanAnalytics.AverageDiscount and ratePlanAnalytics.TotalSavings instead of analytics.
This commit is contained in:
@@ -136,7 +136,7 @@ func (v *OnboardingValidator) validateBusinessRegistration(businessID string) er
|
||||
}
|
||||
|
||||
// validateCompliance validates regulatory compliance
|
||||
func (v *OnboardingValidator) validateCompliance(ctx context.Context, mvno *MVNO) error {
|
||||
func (v *OnboardingValidator) validateCompliance(_ context.Context, mvno *MVNO) error {
|
||||
// Check regulatory compliance for target countries
|
||||
for _, country := range mvno.Config.AllowedCountries {
|
||||
if err := v.checkCountryCompliance(country); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user