Skip to content

Commit

Permalink
Fix skipping local instances
Browse files Browse the repository at this point in the history
  • Loading branch information
kalisp committed Dec 4, 2024
1 parent 6fad831 commit 7c3e728
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ class NukeSubmitDeadline(

def process(self, instance):
"""Plugin entry point."""
if not instance.data.get("farm"):
self.log.debug("Should not be processed on farm, skipping.")
return

self._instance = instance

context = instance.context
Expand Down

0 comments on commit 7c3e728

Please sign in to comment.