Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Adding a debug print for remote testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jadudm committed Mar 4, 2024
1 parent 71bfe10 commit 6771950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/pipes/pg_dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func PG_Dump(creds *vcap.CredentialsRDS) *script.Pipe {
}
// Combine the slice for printing and execution.
combined := strings.Join(cmd[:], " ")
fmt.Printf("command: %s\n", combined)
logging.Logger.Printf("BACKUPS pg_dump targeting %s", creds.DB_Name)
return script.Exec(combined)
}
1 change: 1 addition & 0 deletions internal/pipes/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ func S3(in_pipe *script.Pipe, up *vcap.CredentialsS3, prefix string, source_db s

// Combine the slice for printing and execution.
combined := strings.Join(cmd[:], " ")
fmt.Printf("command: %s", combined)
logging.Logger.Printf("BACKUPS s3 targeting %s", prefix)
return in_pipe.Exec(combined)
}

0 comments on commit 6771950

Please sign in to comment.