This commit is contained in:
Todd Gruben 2014-04-11 10:10:21 -05:00
parent dc3c9022ce
commit 5aba7a4681

View file

@ -245,7 +245,7 @@ func getStorage(db string, slice int, frame string, fid SUUID) Storage {
return NewLevelDBStorage(full_dir)
case "cassandra":
// host := config.GetString("cassandra_host")
hosts := config.GetStringArrayDefault("cassandra_servers", []string{"localhost"})
hosts := config.GetStringArrayDefault("cassandra_hosts", []string{"localhost"})
keyspace := config.GetString("cassandra_keyspace")
if keyspace == "" {
keyspace = "hotbox"