Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DiffEngineResourceState #1391

Merged
merged 1 commit into from Aug 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions nixops/resources/__init__.py
Expand Up @@ -343,7 +343,7 @@ def create(self, defn, check, allow_reboot, allow_recreate):
# handlers calls
if check:
self._check()
diff_engine = self.setup_diff_engine(config=defn.config)
diff_engine = self.setup_diff_engine(defn.config)

for handler in diff_engine.plan():
handler.handle(allow_recreate)
Expand All @@ -363,7 +363,7 @@ def setup_diff_engine(self, config):
diff_engine = Diff(
depl=self.depl,
logger=self.logger,
config=config,
config=dict(config),
state=self._state,
res_type=self.get_type(),
)
Expand Down