mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
Add ContainerID() method to get the containerID from a handle
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user