compose verbose takes context

This commit is contained in:
William Banfield
2022-11-29 13:49:56 -05:00
parent be8d980f83
commit eb46fdc720
2 changed files with 4 additions and 4 deletions

View File

@@ -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...)...)
}