(d map[string]interface{})
| 192 | } |
| 193 | |
| 194 | func (t *cmdDashboard) handleReload(d map[string]interface{}) { |
| 195 | c := t.newTopomClient() |
| 196 | |
| 197 | log.Debugf("call rpc reload to dashboard %s", t.addr) |
| 198 | if err := c.Reload(); err != nil { |
| 199 | log.PanicErrorf(err, "call rpc reload to dashboard %s failed", t.addr) |
| 200 | } |
| 201 | log.Debugf("call rpc reload OK") |
| 202 | } |
| 203 | |
| 204 | func (t *cmdDashboard) handleSlotsCommand(d map[string]interface{}) { |
| 205 | c := t.newTopomClient() |
no test coverage detected