File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ func TestAppendTLSEnv(t *testing.T) {
514514
515515 for _ , tt := range tests {
516516 t .Run (tt .name , func (t * testing.T ) {
517- cmd := exec .CommandContext (ctx , "echo" ) //nolint:gosec
517+ cmd := exec .CommandContext (ctx , "echo" )
518518 cmd .Env = os .Environ ()
519519
520520 appendTLSEnv (ctx , cmd , tt .config )
@@ -550,7 +550,7 @@ func TestAppendTLSEnv_TlsHost(t *testing.T) {
550550 ctx := t .Context ()
551551
552552 t .Run ("PGHOSTADDR set when TlsHost configured" , func (t * testing.T ) {
553- cmd := exec .CommandContext (ctx , "echo" ) //nolint:gosec
553+ cmd := exec .CommandContext (ctx , "echo" )
554554 cmd .Env = os .Environ ()
555555
556556 config := & protos.PostgresConfig {
@@ -569,7 +569,7 @@ func TestAppendTLSEnv_TlsHost(t *testing.T) {
569569 })
570570
571571 t .Run ("PGHOSTADDR not set when TlsHost empty" , func (t * testing.T ) {
572- cmd := exec .CommandContext (ctx , "echo" ) //nolint:gosec
572+ cmd := exec .CommandContext (ctx , "echo" )
573573 cmd .Env = os .Environ ()
574574
575575 config := & protos.PostgresConfig {
You can’t perform that action at this time.
0 commit comments