We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40daa1b commit 27acba3Copy full SHA for 27acba3
internal/sqlquery/config.go
@@ -39,6 +39,7 @@ func (c Config) Validate() error {
39
if c.DataSourceConfig.Host == "" {
40
return errors.New("'datasource_config.host' or 'datasource' must be specified")
41
}
42
+ // For sqlserver, port is optional
43
if c.Driver != "sqlserver" {
44
if c.DataSourceConfig.Port == 0 {
45
return errors.New("'datasource_config.port' or 'datasource' must be specified")
0 commit comments