fix: avoid error file name too long when writing a file (#4876)

This commit is contained in:
Konstantin Lebedev
2023-09-27 17:40:51 +05:00
committed by GitHub
parent 9d589b48e6
commit 44906f1f3b
4 changed files with 43 additions and 4 deletions

View File

@@ -99,7 +99,7 @@ func runFilerReplicate(cmd *Command, args []string) bool {
if m.OldEntry != nil && m.NewEntry == nil {
glog.V(1).Infof("delete: %s", key)
} else if m.OldEntry == nil && m.NewEntry != nil {
glog.V(1).Infof(" add: %s", key)
glog.V(1).Infof("add: %s", key)
} else {
glog.V(1).Infof("modify: %s", key)
}