diff options
Diffstat (limited to 'weed/filer2/cassandra/cassandra_store.go')
| -rw-r--r-- | weed/filer2/cassandra/cassandra_store.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/filer2/cassandra/cassandra_store.go b/weed/filer2/cassandra/cassandra_store.go index 7552cb524..1309cd1ee 100644 --- a/weed/filer2/cassandra/cassandra_store.go +++ b/weed/filer2/cassandra/cassandra_store.go @@ -5,6 +5,7 @@ import ( "github.com/chrislusf/seaweedfs/weed/filer2" "github.com/chrislusf/seaweedfs/weed/glog" "github.com/gocql/gocql" + "github.com/chrislusf/seaweedfs/weed/util" ) func init() { @@ -20,7 +21,7 @@ func (store *CassandraStore) GetName() string { return "cassandra" } -func (store *CassandraStore) Initialize(configuration filer2.Configuration) (err error) { +func (store *CassandraStore) Initialize(configuration util.Configuration) (err error) { return store.initialize( configuration.GetString("keyspace"), configuration.GetStringSlice("hosts"), |
