mirror of
https://github.com/docker/compose.git
synced 2025-07-10 07:14:27 +02:00
commit
fa16feaddc
@ -73,9 +73,9 @@ func runLogs(ctx context.Context, opts logsOptions, services []string) error {
|
|||||||
}
|
}
|
||||||
consumer := formatter.NewLogConsumer(ctx, os.Stdout, !opts.noColor, !opts.noPrefix)
|
consumer := formatter.NewLogConsumer(ctx, os.Stdout, !opts.noColor, !opts.noPrefix)
|
||||||
return c.ComposeService().Logs(ctx, projectName, consumer, compose.LogOptions{
|
return c.ComposeService().Logs(ctx, projectName, consumer, compose.LogOptions{
|
||||||
Services: services,
|
Services: services,
|
||||||
Follow: opts.follow,
|
Follow: opts.follow,
|
||||||
Tail: opts.tail,
|
Tail: opts.tail,
|
||||||
Timestamps: opts.timestamps,
|
Timestamps: opts.timestamps,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user