mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
Implement docker logs --tal <N>
This commit is contained in:
parent
1c7270b697
commit
e964a3af2e
4 changed files with 40 additions and 9 deletions
|
|
@ -44,7 +44,7 @@ func (cs *containerService) Exec(ctx context.Context, name string, command strin
|
|||
return nil
|
||||
}
|
||||
|
||||
func (cs *containerService) Logs(ctx context.Context, name string, writer io.Writer, follow bool) error {
|
||||
fmt.Fprintf(writer, "Following logs for container %q", name)
|
||||
func (cs *containerService) Logs(ctx context.Context, containerName string, request containers.LogsRequest) error {
|
||||
fmt.Fprintf(request.Writer, "Following logs for container %q", containerName)
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue