mirror of
https://github.com/idanoo/go-mastodon-stats
synced 2025-07-01 22:02:20 +00:00
Send separate messages
This commit is contained in:
parent
0ed54031d1
commit
9bc4bc3466
2 changed files with 6 additions and 19 deletions
|
@ -113,12 +113,6 @@ func getUserCounts() ([]metric, error) {
|
|||
return metrics, nil
|
||||
}
|
||||
|
||||
func getPrintableString(m []metric) string {
|
||||
output := ""
|
||||
|
||||
for _, v := range m {
|
||||
output = fmt.Sprintf("%s\n%s: %d", output, v.Service, v.MetricValue)
|
||||
}
|
||||
|
||||
return output
|
||||
func getPrintableString(m metric) string {
|
||||
return fmt.Sprintf("%s: %d", m.Service, m.MetricValue)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue