diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-08-19 15:17:55 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-08-19 15:17:55 -0700 |
| commit | f827ada811bb807a9cf9e3db702a01e6f8e4ae3b (patch) | |
| tree | a1a18dc6e30b906bb97492aa98692003ec5a555d /weed/filer2/redis/redis_store.go | |
| parent | c91372daa6ddceed2ef66e6e36d986658551d237 (diff) | |
| download | seaweedfs-f827ada811bb807a9cf9e3db702a01e6f8e4ae3b.tar.xz seaweedfs-f827ada811bb807a9cf9e3db702a01e6f8e4ae3b.zip | |
merge notification config with filer.toml
Diffstat (limited to 'weed/filer2/redis/redis_store.go')
| -rw-r--r-- | weed/filer2/redis/redis_store.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/filer2/redis/redis_store.go b/weed/filer2/redis/redis_store.go index 85236a5af..77d157ab4 100644 --- a/weed/filer2/redis/redis_store.go +++ b/weed/filer2/redis/redis_store.go @@ -3,6 +3,7 @@ package redis import ( "github.com/chrislusf/seaweedfs/weed/filer2" "github.com/go-redis/redis" + "github.com/chrislusf/seaweedfs/weed/util" ) func init() { @@ -17,7 +18,7 @@ func (store *RedisStore) GetName() string { return "redis" } -func (store *RedisStore) Initialize(configuration filer2.Configuration) (err error) { +func (store *RedisStore) Initialize(configuration util.Configuration) (err error) { return store.initialize( configuration.GetString("address"), configuration.GetString("password"), |
