Skip to content

Commit

Permalink
Fix version number
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Lefranc committed Jan 29, 2015
1 parent 8feb02b commit 85af861
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mariadb-repmgr/repmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
_ "github.com/go-sql-driver/mysql"
"github.com/jmoiron/sqlx"
"github.com/nsf/termbox-go"
"github.com/tanji/mariadb-tools/common"
"github.com/tanji/mariadb-tools/dbhelper"
"log"
"net"
Expand All @@ -17,6 +16,8 @@ import (
"time"
)

const repmgrVersion string = "0.2.0"

var (
slaveList []string
exit bool
Expand Down Expand Up @@ -64,7 +65,7 @@ type ServerMonitor struct {
func main() {
flag.Parse()
if *version == true {
common.Version()
fmt.Println("MariaDB Replication Manager version", repmgrVersion)
}
// if slaves option has been supplied, split into a slice.
if *slaves != "" {
Expand Down

0 comments on commit 85af861

Please sign in to comment.