Skip to content

Commit

Permalink
Fix typo in db_setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaab authored Jan 26, 2025
1 parent c6e5202 commit bdb92a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions security-admin/scripts/db_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,13 @@ def apply_patches(self, db_name, db_user, db_password, PATCHES_PATH):
#getting Java patch which needs to be run before this DB patch.
pre_dict = self.get_pre_post_java_patches(prefix_for_preSql_patch)
if pre_dict:
log ("[I] ruunig pre java patch:[{}]".format(pre_dict),"info")
log ("[I] Running Pre Java Patch:[{}]".format(pre_dict),"info")
self.execute_java_patches(xa_db_host, db_user, db_password, db_name, pre_dict)
self.import_db_patches(db_name, db_user, db_password, currentPatch)
#getting Java patch which needs to be run immediately after this DB patch.
post_dict = self.get_pre_post_java_patches(prefix_for_postSql_patch)
if post_dict:
log ("[I] ruunig post java patch:[{}]".format(post_dict),"info")
log ("[I] Running Post Java Patch:[{}]".format(post_dict),"info")
self.execute_java_patches(xa_db_host, db_user, db_password, db_name, post_dict)
self.update_applied_patches_status(db_name, db_user, db_password, "DB_PATCHES")
else:
Expand Down

0 comments on commit bdb92a4

Please sign in to comment.