Skip to content

Commit

Permalink
Rename priority key from Ansilbe, in response to feedback on provider.
Browse files Browse the repository at this point in the history
  • Loading branch information
nbering committed May 26, 2019
1 parent 7c7a280 commit 87676cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ def priority(self):

priority = 0

if self.read_int_attr("priority") is not None:
priority = self.read_int_attr("priority")
if self.read_int_attr("variable_priority") is not None:
priority = self.read_int_attr("variable_priority")
elif self.type() in TerraformResource.DEFAULT_PRIORITIES:
priority = TerraformResource.DEFAULT_PRIORITIES[self.type()]

Expand Down

0 comments on commit 87676cf

Please sign in to comment.