Skip to content

Commit

Permalink
Fix watchdog check
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffxy committed Nov 29, 2023
1 parent 0da91fd commit 1ced84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/brad/daemon/blueprint_watchdog.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def reject_blueprint(self, blueprint: Blueprint) -> bool:
# Embedding table should not leave Aurora.
try:
embedding_locations = blueprint.get_table_locations("embeddings")
if embedding_locations != [Engine.Aurora]:
if Engine.Aurora not in embedding_locations:
if self._event_logger is not None:
self._event_logger.log(
SystemEvent.WatchdogFired,
Expand Down

0 comments on commit 1ced84a

Please sign in to comment.