Skip to content

Commit 4cbac7f

Browse files
Guangming Wangcsmarchbanks
authored andcommitted
table_manager.go: flagset help message typo fix (#1577)
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
1 parent a3eaf06 commit 4cbac7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/chunk/table_manager.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ func (cfg *TableManagerConfig) RegisterFlags(f *flag.FlagSet) {
9898
func (cfg *ProvisionConfig) RegisterFlags(argPrefix string, f *flag.FlagSet) {
9999
f.Int64Var(&cfg.ProvisionedWriteThroughput, argPrefix+".write-throughput", 3000, "DynamoDB table default write throughput.")
100100
f.Int64Var(&cfg.ProvisionedReadThroughput, argPrefix+".read-throughput", 300, "DynamoDB table default read throughput.")
101-
f.BoolVar(&cfg.ProvisionedThroughputOnDemandMode, argPrefix+".enable-ondemand-throughput-mode", false, "Enables on demand througput provisioning for the storage provider (if supported). Applies only to tables which are not autoscaled")
101+
f.BoolVar(&cfg.ProvisionedThroughputOnDemandMode, argPrefix+".enable-ondemand-throughput-mode", false, "Enables on demand throughput provisioning for the storage provider (if supported). Applies only to tables which are not autoscaled")
102102
f.Int64Var(&cfg.InactiveWriteThroughput, argPrefix+".inactive-write-throughput", 1, "DynamoDB table write throughput for inactive tables.")
103103
f.Int64Var(&cfg.InactiveReadThroughput, argPrefix+".inactive-read-throughput", 300, "DynamoDB table read throughput for inactive tables.")
104-
f.BoolVar(&cfg.InactiveThroughputOnDemandMode, argPrefix+".inactive-enable-ondemand-throughput-mode", false, "Enables on demand througput provisioning for the storage provider (if supported). Applies only to tables which are not autoscaled")
104+
f.BoolVar(&cfg.InactiveThroughputOnDemandMode, argPrefix+".inactive-enable-ondemand-throughput-mode", false, "Enables on demand throughput provisioning for the storage provider (if supported). Applies only to tables which are not autoscaled")
105105

106106
cfg.WriteScale.RegisterFlags(argPrefix+".write-throughput.scale", f)
107107
cfg.InactiveWriteScale.RegisterFlags(argPrefix+".inactive-write-throughput.scale", f)

0 commit comments

Comments
 (0)