Skip to content

Commit

Permalink
Ignore lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Oct 10, 2024
1 parent 2f5955f commit 86de315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/backup/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func Create(cfg *core.Configuration, reason string) (nowTime time.Time, returned
errChan := make(chan error, 1) // must be buffered to ensure that `pipewriter.Close()` runs immediately
go func() {
defer pipeWriter.Close()
cmd := exec.CommandContext(ctx,
cmd := exec.CommandContext(ctx, //nolint:gosec // input is user supplied and self executed
getPgdumpForVersion(majorVersion),
"--host", cfg.PgHostname,
"--username", cfg.PgUsername, //NOTE: PGPASSWORD comes via inherited env variable
Expand Down

0 comments on commit 86de315

Please sign in to comment.