|
|
@ -52,11 +52,11 @@ func runFilerReplicate(cmd *Command, args []string) bool { |
|
|
|
glog.Errorf("receive %s: %+v", key, err) |
|
|
|
continue |
|
|
|
} |
|
|
|
if m.OldEntry!=nil&&m.NewEntry==nil{ |
|
|
|
if m.OldEntry != nil && m.NewEntry == nil { |
|
|
|
glog.V(1).Infof("delete: %s", key) |
|
|
|
}else if m.OldEntry==nil&&m.NewEntry!=nil{ |
|
|
|
} else if m.OldEntry == nil && m.NewEntry != nil { |
|
|
|
glog.V(1).Infof(" add: %s", key) |
|
|
|
}else{ |
|
|
|
} else { |
|
|
|
glog.V(1).Infof("modify: %s", key) |
|
|
|
} |
|
|
|
if err = replicator.Replicate(key, m); err != nil { |
|
|
|