Skip to content

Commit 6f9bb6b

Browse files
Add missing flag to vtctld. local example passes
Signed-off-by: Rohit Nayak <[email protected]>
1 parent 898720d commit 6f9bb6b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

go/cmd/vtctld/cli/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This is demonstrated in the example usage below.`,
4545
--topo-global-root /vitess/ \
4646
--service-map 'grpc-vtctl,grpc-vtctld' \
4747
--backup-storage-implementation file \
48-
--file_backup_storage_root $VTDATAROOT/backups \
48+
--file-backup-storage-root $VTDATAROOT/backups \
4949
--port 15000 \
5050
--grpc-port 15999`,
5151
Args: cobra.NoArgs,

go/test/endtoend/cluster/vtbackup_process.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func (vtbackup *VtbackupProcess) Setup() (err error) {
7171

7272
//Backup Arguments are not optional
7373
"--backup-storage-implementation": vtbackup.BackupStorageImplementation,
74-
"--file_backup_storage_root": vtbackup.FileBackupStorageRoot,
74+
"--file-backup-storage-root": vtbackup.FileBackupStorageRoot,
7575
}
7676

7777
utils.SetFlagVariantsForTests(flags, "--topo-implementation", vtbackup.TopoImplementation)

go/test/endtoend/cluster/vtctld_process.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (vtctld *VtctldProcess) Setup(cell string, extraArgs ...string) (err error)
6060
"--cell", cell,
6161
"--service_map", vtctld.ServiceMap,
6262
"--backup_storage_implementation", vtctld.BackupStorageImplementation,
63-
"--file_backup_storage_root", vtctld.FileBackupStorageRoot,
63+
"--file-backup-storage-root", vtctld.FileBackupStorageRoot,
6464
"--log_dir", vtctld.LogDir,
6565
"--port", fmt.Sprintf("%d", vtctld.Port),
6666
"--grpc_port", fmt.Sprintf("%d", vtctld.GrpcPort),

go/test/endtoend/cluster/vttablet_process.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func (vttablet *VttabletProcess) Setup() (err error) {
110110
"--health_check_interval", fmt.Sprintf("%ds", vttablet.HealthCheckInterval),
111111
"--enable_replication_reporter",
112112
"--backup_storage_implementation", vttablet.BackupStorageImplementation,
113-
"--file_backup_storage_root", vttablet.FileBackupStorageRoot,
113+
"--file-backup-storage-root", vttablet.FileBackupStorageRoot,
114114
"--service_map", vttablet.ServiceMap,
115115
"--db_charset", vttablet.Charset,
116116
"--bind-address", "127.0.0.1",

0 commit comments

Comments
 (0)