Skip to content

Commit

Permalink
Add missing id_ argument
Browse files Browse the repository at this point in the history
  • Loading branch information
JimMadge committed Jul 25, 2023
1 parent 65280d4 commit 0066d7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data_safe_haven/pulumi/dynamic/remote_powershell.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,13 @@ def delete(self, id_: str, props: dict[str, Any]) -> None:

def diff(
self,
id_: str,
old_props: dict[str, Any],
new_props: dict[str, Any],
) -> DiffResult:
"""Calculate diff between old and new state"""
# Use `id` as a no-op to avoid ARG002 while maintaining function signature
id(id_)
if new_props["force_refresh"]:
return DiffResult(
changes=True,
Expand Down

0 comments on commit 0066d7b

Please sign in to comment.