Skip to content

Commit

Permalink
fix fs.BoolVar
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed May 27, 2024
1 parent fcc4a6a commit 08142d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtgate/vtgate.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func registerFlags(fs *pflag.FlagSet) {
fs.StringVar(&defaultDDLStrategy, "ddl_strategy", defaultDDLStrategy, "Set default strategy for DDL statements. Override with @@ddl_strategy session variable")
fs.StringVar(&dbDDLPlugin, "dbddl_plugin", dbDDLPlugin, "controls how to handle CREATE/DROP DATABASE. use it if you are using your own database provisioning service")
fs.BoolVar(&noScatter, "no_scatter", noScatter, "when set to true, the planner will fail instead of producing a plan that includes scatter queries")
fs.BoolVar("no_vstream_copy", noVstreamCopy, "when set to true, vstream copy will not be allowed - temporary until we can properly support RDONLY for this")
fs.BoolVar(&noVstreamCopy, "no_vstream_copy", noVstreamCopy, "when set to true, vstream copy will not be allowed - temporary until we can properly support RDONLY for this")
fs.BoolVar(&enableShardRouting, "enable-partial-keyspace-migration", enableShardRouting, "(Experimental) Follow shard routing rules: enable only while migrating a keyspace shard by shard. See documentation on Partial MoveTables for more. (default false)")
fs.DurationVar(&healthCheckRetryDelay, "healthcheck_retry_delay", healthCheckRetryDelay, "health check retry delay")
fs.DurationVar(&healthCheckTimeout, "healthcheck_timeout", healthCheckTimeout, "the health check timeout period")
Expand Down

0 comments on commit 08142d6

Please sign in to comment.