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