Skip to content

Commit

Permalink
fix: move to plan.verify from plan.assert (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
h4ck3rk3y committed Sep 18, 2023
1 parent 135e923 commit b323320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/contract_helper_postgresql.star
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def add_contract_helper_db(plan):
"create database " + database_to_create + " with owner=" + POSTGRES_USER
]
create_db_command_result = plan.exec(recipe=ExecRecipe(command=create_db_command), service_name=SERVICE_NAME)
plan.assert(create_db_command_result["code"], "==", constants.EXEC_COMMAND_SUCCESS_EXIT_CODE)
plan.verify(create_db_command_result["code"], "==", constants.EXEC_COMMAND_SUCCESS_EXIT_CODE)

private_url, _ = service_url.get_private_and_public_url_for_port_id(
SERVICE_NAME,
Expand Down

0 comments on commit b323320

Please sign in to comment.