Skip to content

Commit

Permalink
This also needs to unset the proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
asteel-gsa committed May 14, 2024
1 parent e400a20 commit 28435fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/db_to_s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
"gov.gsa.fac.cgov-util/internal/logging"
"gov.gsa.fac.cgov-util/internal/pipes"
"gov.gsa.fac.cgov-util/internal/structs"
"gov.gsa.fac.cgov-util/internal/util"

"gov.gsa.fac.cgov-util/internal/vcap"
)
Expand Down Expand Up @@ -124,6 +125,7 @@ Takes 0 or more table names as arguments. If no arguments are
provided, all tables are backed up.
`,
Run: func(cmd *cobra.Command, table_names []string) {
util.UnsetProxy()
s3path := parseS3Path(db_to_s3_s3path)
db_creds := getDBCredentials(db_to_s3_db)
bucket_creds := getBucketCredentials(s3path)
Expand Down

0 comments on commit 28435fe

Please sign in to comment.