mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-11-26 22:08:48 +00:00
feat: Mark unused context parameters with underscore and refactor fraud metrics status handling
- Mark unused context parameters with underscore in analyzeCompetitors, identifyOpportunities, and PredictFailure - Replace if-else chain with switch statement for fraud alert status handling in GetFraudMetrics - Add OptimizationResult, PricingMetrics, RatePlan, and HistoricalDataPoint types to pricing/types.go
This commit is contained in:
@@ -187,7 +187,7 @@ func (s *PredictiveMaintenanceService) GetMaintenanceAlerts(ctx context.Context,
|
||||
}
|
||||
|
||||
// PredictFailure predicts failure for an asset
|
||||
func (s *PredictiveMaintenanceService) PredictFailure(ctx context.Context, assetID string) (*MaintenanceAlert, error) {
|
||||
func (s *PredictiveMaintenanceService) PredictFailure(_ context.Context, assetID string) (*MaintenanceAlert, error) {
|
||||
s.mu.Lock()
|
||||
defer s.mu.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user