Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Correct the key names for the Secret snapshot.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyandrewmeyer committed Oct 4, 2024
1 parent 1eaed95 commit e270db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scenario/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -1981,10 +1981,10 @@ def deferred(self, handler: Callable, event_id: int = 1) -> DeferredEvent:
# Enforced by the consistency checker, but for type checkers:
assert self.secret is not None
snapshot_data.update(
{"secret_id": self.secret.id, "secret_label": self.secret.label},
{"id": self.secret.id, "label": self.secret.label},
)
if self.name.endswith(("_remove", "_expired")):
snapshot_data["secret_revision"] = self.secret_revision
snapshot_data["revision"] = self.secret_revision

elif self._is_action_event:
# Enforced by the consistency checker, but for type checkers:
Expand Down

0 comments on commit e270db8

Please sign in to comment.