Skip to content

Commit

Permalink
Merge pull request #3688 from afbjorklund/rkt-log
Browse files Browse the repository at this point in the history
Implement CRI method ContainerLogCmd for rkt
  • Loading branch information
afbjorklund committed Feb 15, 2019
2 parents 1473c36 + 166b423 commit 32fbdbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/minikube/cruntime/rkt.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 32fbdbd

Please sign in to comment.