Skip to content

Commit

Permalink
[Hotfix] spark jobs name
Browse files Browse the repository at this point in the history
  • Loading branch information
FusRoman committed Oct 5, 2023
1 parent 4d92efd commit bc97e0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fink_mm/ztf_join_gcn.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,9 +510,9 @@ def ztf_join_gcn(
"""
logger = init_logging()

if DataMode.OFFLINE:
if mm_mode == DataMode.OFFLINE:
job_name = "offline"
elif DataMode.STREAMING:
elif mm_mode == DataMode.STREAMING:
job_name = "online"

spark = init_sparksession(
Expand Down

0 comments on commit bc97e0d

Please sign in to comment.