fix bug of GetDetailedInfo panic
@ -1,3 +1,6 @@
2019-05-30 Alibaba Cloud.
* VERSION: 1.6.4
* BUGFIX: fix bug of `GetDetailedInfo` panic.
2019-05-26 Alibaba Cloud.
* VERSION: 1.6.3
* IMPROVE: target address supports cluster.
@ -61,6 +61,9 @@ type CmdSync struct {
func (cmd *CmdSync) GetDetailedInfo() interface{} {
ret := make([]map[string]interface{}, len(cmd.dbSyncers))
for i, syncer := range cmd.dbSyncers {
if syncer == nil {
continue
}
ret[i] = syncer.GetExtraInfo()
return ret