Skip to content

Commit

Permalink
Merge pull request kelseyhightower#302 from sheepkiller/default-zk-ba…
Browse files Browse the repository at this point in the history
…ckend

add default node for zookeeper backend
  • Loading branch information
kelseyhightower committed Jul 13, 2015
2 parents 0dd4c53 + dbeb609 commit 745cf2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/github.com/kelseyhightower/confd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ func initConfig() error {
}
case "redis":
config.BackendNodes = []string{"127.0.0.1:6379"}
case "zookeeper":
config.BackendNodes = []string{"127.0.0.1:2181"}
}
}
// Initialize the storage client
Expand Down

0 comments on commit 745cf2b

Please sign in to comment.