()
| 62 | } |
| 63 | |
| 64 | func (ps ProcessSummaries) String() string { |
| 65 | ps.Sort() |
| 66 | |
| 67 | var summaries []string |
| 68 | for _, p := range ps { |
| 69 | summaries = append(summaries, fmt.Sprintf("%s:%d/%d", p.Type, p.HealthyInstanceCount(), p.TotalInstanceCount())) |
| 70 | } |
| 71 | |
| 72 | return strings.Join(summaries, ", ") |
| 73 | } |
| 74 | |
| 75 | func (actor Actor) getProcessSummariesForApp(appGUID string, withObfuscatedValues bool) (ProcessSummaries, Warnings, error) { |
| 76 | log.WithFields(log.Fields{ |
nothing calls this directly
no test coverage detected