Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
KaraMelih committed Aug 15, 2024
1 parent cf47b2b commit 35a5961
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snews_pt/remote_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ def reset_cache(detector_name=None, admin_pass=None, firedrill=True, is_test=Tru
message = {'_id': '0_hard-reset',
'pass': passw,
'detector_name':detector_name,
'meta':{'is_test':is_test}}
'is_test': is_test,
'meta':{}}

topic = os.getenv("FIREDRILL_OBSERVATION_TOPIC") if firedrill else os.getenv("OBSERVATION_TOPIC")
pubstream = Stream(until_eos=True, auth=True)
Expand Down

0 comments on commit 35a5961

Please sign in to comment.