Implemented statistics. Refactored storage abstractions. Added config options for docker and local storage. Added server service and server updating.
This commit is contained in:
@@ -27,7 +27,7 @@ public class DockerInstallEnv : IInstallEnvironment
|
||||
Logger = logger;
|
||||
EventService = eventService;
|
||||
|
||||
InnerStatistics = new DockerStatistics();
|
||||
InnerStatistics = new DockerStatistics(containerId, dockerClient, logger);
|
||||
InnerConsole = new DockerConsole(containerId, dockerClient, logger);
|
||||
|
||||
EventService.OnContainerDied += HandleDieEventAsync;
|
||||
@@ -59,5 +59,6 @@ public class DockerInstallEnv : IInstallEnvironment
|
||||
EventService.OnContainerDied -= HandleDieEventAsync;
|
||||
|
||||
await InnerConsole.DisposeAsync();
|
||||
await InnerStatistics.DisposeAsync();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user