Add ContainerID() method to get the containerID from a handle
This commit is contained in:
parent
96f4522a93
commit
6253b1d0aa
|
@ -543,6 +543,10 @@ func (h *dockerHandle) ID() string {
|
|||
return fmt.Sprintf("DOCKER:%s", string(data))
|
||||
}
|
||||
|
||||
func (h *dockerHandle) ContainerID() string {
|
||||
return h.containerID
|
||||
}
|
||||
|
||||
func (h *dockerHandle) WaitCh() chan *cstructs.WaitResult {
|
||||
return h.waitCh
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue