Skip to content

Commit

Permalink
workaround for running commands with spaces in them
Browse files Browse the repository at this point in the history
  • Loading branch information
urvisavla committed Aug 2, 2024
1 parent 7c0ce4c commit 66db13b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/horizon/internal/test/integration/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ func (i *Test) runComposeCommand(args ...string) {
cmdline = append([]string{"-f", integrationSorobanRPCYaml}, cmdline...)
}
cmdline = append([]string{"-f", integrationYaml}, cmdline...)
//lint:ignore SA1005 commands with spaces!
cmd := exec.Command("docker compose", cmdline...)
cmdline = append([]string{"compose"}, cmdline...)
cmd := exec.Command("docker", cmdline...)
coreImageOverride := ""
if i.config.CoreDockerImage != "" {
coreImageOverride = i.config.CoreDockerImage
Expand Down

0 comments on commit 66db13b

Please sign in to comment.