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

Commit

Permalink
Trying to get creds in...
Browse files Browse the repository at this point in the history
  • Loading branch information
jadudm committed Mar 5, 2024
1 parent c6f9380 commit 75f1ac9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Empty file modified build.sh
100644 → 100755
Empty file.
9 changes: 8 additions & 1 deletion cmd/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,14 @@ to quickly create a Cobra application.`,
up, _ := vcap.GetUserProvidedCredentials("mc")
bucket_local_tables(source_creds, up)
} else {
up, _ := vcap.GetS3Credentials(DestinationBucket)
up, err := vcap.GetS3Credentials(DestinationBucket)
if err != nil {
logging.Logger.Printf("BACKUPS could not get s3 credentials")
os.Exit(-1)
}
if Debug {
logging.Logger.Printf("BACKUPS s3 credentials %v\n", up)
}
bucket_cgov_tables(source_creds, up)
}

Expand Down

0 comments on commit 75f1ac9

Please sign in to comment.