api/actions/process_stats.go
Showing 1 of 1 total issue
Method ProcessStats.FetchStats
has 70 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (a *ProcessStats) FetchStats(ctx context.Context, authInfo authorization.Info, processGUID string) ([]PodStatsRecord, error) { processRecord, err := a.processRepo.GetProcess(ctx, authInfo, processGUID) if err != nil { return nil, err }