(opts *ViewOptions, accountID string)
| 85 | } |
| 86 | |
| 87 | func ContributeAccount(opts *ViewOptions, accountID string) ([]*output.DataRow, error) { |
| 88 | account, err := opts.Client.Accounts.GetByID(accountID) |
| 89 | if err != nil { |
| 90 | return nil, err |
| 91 | } |
| 92 | data := []*output.DataRow{output.NewDataRow("Account", account.GetName())} |
| 93 | return data, nil |
| 94 | } |
| 95 | |
| 96 | func getHealthStatus(worker *machines.Worker) string { |
| 97 | switch worker.HealthStatus { |
no test coverage detected