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 5ecb499d9e
commit 84f9bb1367

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
}