Skip to content
This repository was archived by the owner on Jul 15, 2022. It is now read-only.

Commit 9e53f19

Browse files
author
Leonardo Chaia
committed
chore: delete dead code
1 parent 9c9a23d commit 9e53f19

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

src/app/daemon-tools/container-inspect-cards/container-inspect-cards.component.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { Component, OnInit, Input } from '@angular/core';
22
import { DockerContainerService } from '../docker-container.service';
3-
import { ContainerInspectInfo, ContainerCreateBody } from 'dockerode';
4-
import { TabService } from '../../tabs/tab.service';
5-
import { TimoneerTabs } from '../../timoneer-tabs';
3+
import { ContainerInspectInfo } from 'dockerode';
64

75
@Component({
86
selector: 'tim-container-inspect-cards',
@@ -22,8 +20,7 @@ export class ContainerInspectCardsComponent implements OnInit {
2220
public labels: { key: string, value: string }[] = [];
2321

2422
constructor(
25-
private readonly containerService: DockerContainerService,
26-
private readonly tab: TabService) { }
23+
private readonly containerService: DockerContainerService) { }
2724

2825
public ngOnInit() {
2926

@@ -54,13 +51,4 @@ export class ContainerInspectCardsComponent implements OnInit {
5451
}
5552
});
5653
}
57-
58-
public cloneContainer() {
59-
this.tab.add(TimoneerTabs.DOCKER_CONTAINER_NEW, {
60-
params: {
61-
...this.containerInfo.Config,
62-
HostConfig: this.containerInfo.HostConfig
63-
} as ContainerCreateBody
64-
});
65-
}
6654
}

0 commit comments

Comments
 (0)