aboutsummaryrefslogtreecommitdiff
path: root/weed/replication/sub/notifications.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/replication/sub/notifications.go')
-rw-r--r--weed/replication/sub/notifications.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/replication/sub/notifications.go b/weed/replication/sub/notifications.go
index 66fbef824..d5a910db9 100644
--- a/weed/replication/sub/notifications.go
+++ b/weed/replication/sub/notifications.go
@@ -9,8 +9,8 @@ type NotificationInput interface {
// GetName gets the name to locate the configuration in sync.toml file
GetName() string
// Initialize initializes the file store
- Initialize(configuration util.Configuration) error
- ReceiveMessage() (key string, message *filer_pb.EventNotification, err error)
+ Initialize(configuration util.Configuration, prefix string) error
+ ReceiveMessage() (key string, message *filer_pb.EventNotification, onSuccessFn func(), onFailureFn func(), err error)
}
var (