Skip to content

Commit

Permalink
feat: remove useless config
Browse files Browse the repository at this point in the history
  • Loading branch information
earayu committed Dec 22, 2023
1 parent 92b3858 commit bad30a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions go/vt/vttablet/tabletserver/role/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"sync"
"sync/atomic"
"time"

topodatapb "vitess.io/vitess/go/vt/proto/topodata"
"vitess.io/vitess/go/vt/topo"

Expand Down Expand Up @@ -76,8 +77,6 @@ func setUpMysqlProbeServicePort() {
func registerGCFlags(fs *pflag.FlagSet) {
fs.DurationVar(&mysqlRoleProbeInterval, "mysql_role_probe_interval", mysqlRoleProbeInterval, "Interval between garbage collection checks")
fs.DurationVar(&mysqlRoleProbeTimeout, "mysql_role_probe_timeout", mysqlRoleProbeTimeout, "Interval between garbage collection checks")

fs.StringVar(&mysqlProbeServiceHost, "mysql_role_probe_timeout", mysqlProbeServiceHost, "Interval between garbage collection checks")
}

type Listener struct {
Expand Down

0 comments on commit bad30a5

Please sign in to comment.