Skip to content

Commit

Permalink
Merge pull request #7 from GSA-TTS/check-tables-update
Browse files Browse the repository at this point in the history
Check Tables Update [minor]
  • Loading branch information
asteel-gsa authored Aug 15, 2024
2 parents 5ab6ef1 + 809ce93 commit bf5cf4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/check_db.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ func check_if_table_exists(source_creds vcap.Credentials) {
}
}
if len(not_existing) > 0 {
logging.Error.Println("A list of tables that does not exist in the database, but does exist in a manifest has been returned.")
logging.Error.Println("CHECKTABLESFAIL : A list of tables that does not exist in the database, but does exist in a manifest has been returned.")
logging.Error.Println("System exiting...")
joined_tables := strings.Join(not_existing[:], " ")
logging.Error.Printf("DBMISSINGTABLES " + joined_tables)
os.Exit(logging.DB_MISSING_TABLES)
} else {
logging.Status.Printf("Manifest and Database tables appear to be in sync.")
logging.Status.Printf("CHECKTABLESPASS : Manifest and Database tables appear to be in sync for database: " + source_database)
}

if err := scanner.Err(); err != nil {
Expand Down
1 change: 1 addition & 0 deletions cmd/install_aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func InstallAWS() {
// unzip awscliv2.zip && rm awscliv2.zip
unzipaws := []string{
"unzip",
"-q",
"awscliv2.zip",
"&&",
"rm",
Expand Down

0 comments on commit bf5cf4a

Please sign in to comment.