filer.backup: fix cloud sinks when updating entry

This commit is contained in:
Chris Lu
2021-05-26 14:53:11 -07:00
parent 921e0d5008
commit 45bffc92a8
4 changed files with 4 additions and 10 deletions

View File

@@ -116,6 +116,5 @@ func (g *GcsSink) CreateEntry(key string, entry *filer_pb.Entry, signatures []in
}
func (g *GcsSink) UpdateEntry(key string, oldEntry *filer_pb.Entry, newParentPath string, newEntry *filer_pb.Entry, deleteIncludeChunks bool, signatures []int32) (foundExistingEntry bool, err error) {
// TODO improve efficiency
return false, nil
return true, g.CreateEntry(key, newEntry, signatures)
}