Skip to content

Commit

Permalink
Add configurable parameters for http server and daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Lefranc committed Jun 21, 2016
1 parent ca4cb55 commit 68fadd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions repmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ func initRepmgrFlags(cmd *cobra.Command) {
timeout = viper.GetInt("connect-timeout")
masterConn = viper.GetString("master-connection")
multiMaster = viper.GetBool("multimaster")
httpserv = viper.GetBool("http-server")
bindaddr = viper.GetString("http-bind-address")
httpport = viper.GetString("http-port")
daemon = viper.GetBool("daemon")
}

var failoverCmd = &cobra.Command{
Expand Down

0 comments on commit 68fadd8

Please sign in to comment.