Merge pull request #3688 from afbjorklund/rkt-log

Implement CRI method ContainerLogCmd for rkt
pull/3691/head
Anders Björklund 2019-02-15 19:36:57 +01:00 committed by GitHub
commit 32fbdbd97b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
}