mirror of
https://github.com/gryf/coach.git
synced 2025-12-18 11:40:18 +01:00
Removing grarph_manager param (#141)
This commit is contained in:
committed by
Ajay Deshpande
parent
a1c56edd98
commit
2b4c9c6774
@@ -579,7 +579,7 @@ class CoachLauncher(object):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if args.distributed_coach and args.distributed_coach_run_type == RunType.ORCHESTRATOR:
|
if args.distributed_coach and args.distributed_coach_run_type == RunType.ORCHESTRATOR:
|
||||||
handle_distributed_coach_orchestrator(graph_manager, args)
|
handle_distributed_coach_orchestrator(args)
|
||||||
return
|
return
|
||||||
|
|
||||||
# Single-threaded runs
|
# Single-threaded runs
|
||||||
|
|||||||
@@ -113,6 +113,8 @@ class RedisPubSubBackend(MemoryBackend):
|
|||||||
def undeploy(self):
|
def undeploy(self):
|
||||||
if self.params.deployed:
|
if self.params.deployed:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
from kubernetes import client
|
||||||
api_client = client.AppsV1Api()
|
api_client = client.AppsV1Api()
|
||||||
delete_options = client.V1DeleteOptions()
|
delete_options = client.V1DeleteOptions()
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user