Skip to content

Commit

Permalink
Changes package import of start_helm_cluster to relative import.
Browse files Browse the repository at this point in the history
  • Loading branch information
pritchardn committed Feb 7, 2022
1 parent bf0f745 commit 064eaf7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions daliuge-translator/dlg/dropmake/web/lg_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@
from urllib.parse import parse_qs, urlparse

from ... import common, restutils
from ...deploy.start_helm_cluster import start_helm
from ...clients import CompositeManagerClient
from ..pg_generator import unroll, partition, GraphException
from ..pg_manager import PGManager
from ..scheduler import SchedulerException
# from dlg.deploy.start_helm_cluster import start_helm

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -311,8 +311,7 @@ def gen_pg_helm():
num_partitions = len(list(filter(lambda n: 'isGroup' in n, pgtpj['nodeDataArray'])))
# Send pgt_data to helm_start
try:
pass
# start_helm(pgtp, num_partitions)
start_helm(pgtp, num_partitions)
except Exception as ex:
response.status = 500
print(traceback.format_exc())
Expand Down

0 comments on commit 064eaf7

Please sign in to comment.