aboutsummaryrefslogtreecommitdiff
path: root/weed/replication/sink/gcssink
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-04-16 00:44:31 -0700
committerChris Lu <chris.lu@gmail.com>2019-04-16 00:44:31 -0700
commitb3b42bc947ec44acdc69efdeebb623a0c092078a (patch)
tree9fecee1d6f5bced1e7e1436a331e8c8973db8a78 /weed/replication/sink/gcssink
parent967e108b9a33d4e3cdd59dacd3356c070ed312a9 (diff)
downloadseaweedfs-b3b42bc947ec44acdc69efdeebb623a0c092078a.tar.xz
seaweedfs-b3b42bc947ec44acdc69efdeebb623a0c092078a.zip
replicate need to include new entry path
Diffstat (limited to 'weed/replication/sink/gcssink')
-rw-r--r--weed/replication/sink/gcssink/gcs_sink.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/replication/sink/gcssink/gcs_sink.go b/weed/replication/sink/gcssink/gcs_sink.go
index 6b710a12a..abd7c49b9 100644
--- a/weed/replication/sink/gcssink/gcs_sink.go
+++ b/weed/replication/sink/gcssink/gcs_sink.go
@@ -119,7 +119,7 @@ func (g *GcsSink) CreateEntry(ctx context.Context, key string, entry *filer_pb.E
}
-func (g *GcsSink) UpdateEntry(ctx context.Context, key string, oldEntry, newEntry *filer_pb.Entry, deleteIncludeChunks bool) (foundExistingEntry bool, err error) {
+func (g *GcsSink) UpdateEntry(ctx context.Context, key string, oldEntry *filer_pb.Entry, newParentPath string, newEntry *filer_pb.Entry, deleteIncludeChunks bool) (foundExistingEntry bool, err error) {
// TODO improve efficiency
return false, nil
}