From 00815e5a675022d248633f2d06e48882a3e97571 Mon Sep 17 00:00:00 2001 From: milogreg Date: Wed, 8 Jan 2025 13:34:59 -0800 Subject: [PATCH] Remove redundant arg validation in generateYamlConfigIfNone --- go/cmd/dolt/commands/sqlserver/sqlserver.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/go/cmd/dolt/commands/sqlserver/sqlserver.go b/go/cmd/dolt/commands/sqlserver/sqlserver.go index 22cc03dd39b..f6d36563ca5 100644 --- a/go/cmd/dolt/commands/sqlserver/sqlserver.go +++ b/go/cmd/dolt/commands/sqlserver/sqlserver.go @@ -527,10 +527,6 @@ func generateYamlConfigIfNone( const yamlConfigName = "config.yaml" apr := cli.ParseArgsOrDie(ap, args, help) - if err := validateSqlServerArgs(apr); err != nil { - cli.PrintErrln(color.RedString(err.Error())) - return err - } if apr.Contains(configFileFlag) { return nil