diff --git a/pkg/ccl/changefeedccl/sink_external_connection.go b/pkg/ccl/changefeedccl/sink_external_connection.go index 4802957fbefa..c4715670f799 100644 --- a/pkg/ccl/changefeedccl/sink_external_connection.go +++ b/pkg/ccl/changefeedccl/sink_external_connection.go @@ -78,7 +78,7 @@ func validateExternalConnectionSinkURI( // TODO(adityamaru): When we add `CREATE EXTERNAL CONNECTION ... WITH` support // to accept JSONConfig we should validate that here too. _, err := getSink(ctx, serverCfg, jobspb.ChangefeedDetails{SinkURI: uri}, nil, env.Username, - jobspb.JobID(0), nil) + jobspb.JobID(0), (*sliMetrics)(nil)) if err != nil { return errors.Wrap(err, "invalid changefeed sink URI") }