Implement CRI method ContainerLogCmd for rkt

pull/3688/head
Anders F Björklund 2019-02-15 19:24:44 +01:00
parent 1473c36fb9
commit 166b423e6e
1 changed files with 5 additions and 0 deletions

View File

@ -119,3 +119,8 @@ func (r *Rkt) KillContainers(ids []string) error {
func (r *Rkt) StopContainers(ids []string) error {
return stopCRIContainers(r.Runner, ids)
}
// ContainerLogCmd returns the command to retrieve the log for a container based on ID
func (r *Rkt) ContainerLogCmd(id string, len int, follow bool) string {
return criContainerLogCmd(id, len, follow)
}