diff --git a/src/app.ts b/src/app.ts index b82eaef..c6bdc24 100644 --- a/src/app.ts +++ b/src/app.ts @@ -161,8 +161,6 @@ const instanceLauncher = new InstanceLauncher({ instanceTracker, cloudManager, instanceGroupManager, - lockManager, - redisClient, shutdownManager, audit, metricsLoop, diff --git a/src/instance_launcher.ts b/src/instance_launcher.ts index 92e975f..ac9bc5d 100644 --- a/src/instance_launcher.ts +++ b/src/instance_launcher.ts @@ -1,8 +1,6 @@ import { InstanceDetails, InstanceState, JibriStatusState, InstanceTracker } from './instance_tracker'; import CloudManager from './cloud_manager'; import InstanceGroupManager, { InstanceGroup } from './instance_group'; -import Redis from 'ioredis'; -import LockManager from './lock_manager'; import { Context } from './context'; import * as promClient from 'prom-client'; import ShutdownManager from './shutdown_manager'; @@ -32,8 +30,6 @@ export interface InstanceLauncherOptions { instanceTracker: InstanceTracker; cloudManager: CloudManager; instanceGroupManager: InstanceGroupManager; - lockManager: LockManager; - redisClient: Redis.Redis; shutdownManager: ShutdownManager; audit: Audit; metricsLoop: MetricsLoop; @@ -44,8 +40,6 @@ export default class InstanceLauncher { private instanceTracker: InstanceTracker; private instanceGroupManager: InstanceGroupManager; private cloudManager: CloudManager; - private redisClient: Redis.Redis; - private lockManager: LockManager; private shutdownManager: ShutdownManager; private audit: Audit; private metricsLoop: MetricsLoop; @@ -54,8 +48,6 @@ export default class InstanceLauncher { this.instanceTracker = options.instanceTracker; this.cloudManager = options.cloudManager; this.instanceGroupManager = options.instanceGroupManager; - this.lockManager = options.lockManager; - this.redisClient = options.redisClient; this.shutdownManager = options.shutdownManager; this.audit = options.audit; this.metricsLoop = options.metricsLoop;