Skip to content

Commit

Permalink
Fix issue during apply when no change is detected
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremietharaud committed Mar 13, 2020
1 parent ca37afb commit 41aa615
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.0.5 (March 13, 2020)

BUG FIXES:

* Fix `Cannot unpack non-iterable NoneType object` error when applying a stack without change

## 1.0.4 (March 1, 2020)

IMPROVEMENTS:
Expand Down
2 changes: 1 addition & 1 deletion cfncli/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.4'
__version__ = '1.0.5'
2 changes: 1 addition & 1 deletion cfncli/cfncli.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def plan(stack_name: str, stack_file: str, client: Client, params: list, tags:
delete_change_set_cfn(stack_name=stack_name, client=client, change_set_name=change_set)
if stack is None:
delete_cfn_stack(stack_name=stack_name, client=client, silent=True)
return None
return None, change_set_type


def apply(stack_name: str, change_set_name: str, change_set_type: str, client: Client, auto_approve: bool) -> None:
Expand Down

0 comments on commit 41aa615

Please sign in to comment.