This repository was archived by the owner on Jul 15, 2022. It is now read-only.
File tree 1 file changed +2
-14
lines changed
src/app/daemon-tools/container-inspect-cards
1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change 1
1
import { Component , OnInit , Input } from '@angular/core' ;
2
2
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' ;
6
4
7
5
@Component ( {
8
6
selector : 'tim-container-inspect-cards' ,
@@ -22,8 +20,7 @@ export class ContainerInspectCardsComponent implements OnInit {
22
20
public labels : { key : string , value : string } [ ] = [ ] ;
23
21
24
22
constructor (
25
- private readonly containerService : DockerContainerService ,
26
- private readonly tab : TabService ) { }
23
+ private readonly containerService : DockerContainerService ) { }
27
24
28
25
public ngOnInit ( ) {
29
26
@@ -54,13 +51,4 @@ export class ContainerInspectCardsComponent implements OnInit {
54
51
}
55
52
} ) ;
56
53
}
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
- }
66
54
}
You can’t perform that action at this time.
0 commit comments