mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-12 06:41:31 +00:00
compose verbose takes context
This commit is contained in:
@@ -103,8 +103,8 @@ func ExecCompose(ctx context.Context, dir string, args ...string) error {
|
||||
}
|
||||
|
||||
// ExecComposeVerbose runs a Docker Compose command for a testnet and displays its output.
|
||||
func ExecComposeVerbose(dir string, args ...string) error {
|
||||
return exec.CommandVerbose(context.Background(), append(
|
||||
func ExecComposeVerbose(ctx context.Context, dir string, args ...string) error {
|
||||
return exec.CommandVerbose(ctx, append(
|
||||
[]string{"docker-compose", "-f", filepath.Join(dir, "docker-compose.yml")},
|
||||
args...)...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user