Add ContainerID() method to get the containerID from a handle

This commit is contained in:
Chris Bednarski 2015-11-19 13:57:18 -08:00
parent 96f4522a93
commit 6253b1d0aa
1 changed files with 4 additions and 0 deletions

View File

@ -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
}