Skip to content

Commit 180a3c4

Browse files
committed
skip ssl is not a valid parameter
1 parent b240d48 commit 180a3c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/source/mysqlrestore/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type Flags struct {
3838
ServerPublicKeyPath string `flag:"--server-public-key-path="`
3939
SharedMemoryBaseName string `flag:"--shared-memory-base-name="`
4040
Socket string `flag:"--socket="`
41-
SkipSsl bool `flag:"--skip-ssl"`
41+
Ssl int `flag:"--ssl="`
4242
SslCa string `flag:"--ssl-ca="`
4343
SslCaPath string `flag:"--ssl-capath="`
4444
SslCert string `flag:"--ssl-cert="`

test/pkg/source/mysqltest/mysql_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ mysqlrestore:
409409
password: %s
410410
user: %s
411411
Database: %s
412-
skipSsl: true
412+
ssl: 0
413413
additionalArgs: []
414414
sourceFile: %s%s
415415
`, hostName, container.Port, mySQLRootPW, mySQLRoot, path,

0 commit comments

Comments
 (0)