(online bool)
| 42 | } |
| 43 | |
| 44 | func onlineStr(online bool) string { |
| 45 | if online { |
| 46 | return "online" |
| 47 | } |
| 48 | |
| 49 | return "offline" |
| 50 | } |
| 51 | |
| 52 | // newNodesCmd returns the `nodes` parent command. |
| 53 | func newNodesCmd() *cobra.Command { |
no outgoing calls
no test coverage detected