Skip to content

Commit

Permalink
fix: fixes bug where SSoT jobs would always run in dry run mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Kircheneer committed Jun 12, 2024
1 parent a9beea0 commit 8ca4f77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file added docs/dev/issues.md
Empty file.
2 changes: 1 addition & 1 deletion nautobot_ssot/jobs/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def record_memory_trace(step: str):
if memory_profiling:
record_memory_trace("diff")

if self.dryrun:
if self.sync.dry_run:
self.logger.info("As `dryrun` is set, skipping the actual data sync.")
else:
self.logger.info("Syncing from %s to %s...", self.source_adapter, self.target_adapter)
Expand Down

0 comments on commit 8ca4f77

Please sign in to comment.