(d map[string]interface{})
| 182 | } |
| 183 | |
| 184 | func (t *cmdDashboard) handleShutdown(d map[string]interface{}) { |
| 185 | c := t.newTopomClient() |
| 186 | |
| 187 | log.Debugf("call rpc shutdown to dashboard %s", t.addr) |
| 188 | if err := c.Shutdown(); err != nil { |
| 189 | log.PanicErrorf(err, "call rpc shutdown to dashboard %s failed", t.addr) |
| 190 | } |
| 191 | log.Debugf("call rpc shutdown OK") |
| 192 | } |
| 193 | |
| 194 | func (t *cmdDashboard) handleReload(d map[string]interface{}) { |
| 195 | c := t.newTopomClient() |
no test coverage detected