Skip to content

Commit

Permalink
Update set_params and get_markdown function calls to new format
Browse files Browse the repository at this point in the history
sgibson91 committed Aug 13, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 0426077 commit ca7eb1b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deployer/utils/rendering.py
Original file line number Diff line number Diff line change
@@ -97,8 +97,8 @@ def create_markdown_comment(support_staging_matrix, prod_matrix):
# Generate a Markdown table
support_staging_md_table = (
markdown_table(formatted_support_staging_matrix)
.setParams(row_sep="markdown", quote=False)
.getMarkdown()
.set_params(row_sep="markdown", quote=False)
.get_markdown()
)
else:
support_staging_md_table = []
@@ -119,8 +119,8 @@ def create_markdown_comment(support_staging_matrix, prod_matrix):
# Generate a Markdown table
prod_md_table = (
markdown_table(formatted_prod_matrix)
.setParams(row_sep="markdown", quote=False)
.getMarkdown()
.set_params(row_sep="markdown", quote=False)
.get_markdown()
)
else:
prod_md_table = []

0 comments on commit ca7eb1b

Please sign in to comment.