Skip to content

Commit f51a656

Browse files
committed
fix(azurite): pass port without proto to cmd args
1 parent 7dda54b commit f51a656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/azure/azurite/azurite.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func Run(ctx context.Context, img string, opts ...testcontainers.ContainerCustom
102102
return nil, err
103103
}
104104

105-
cmd = append(cmd, fmt.Sprintf("--%sHost", srv), "0.0.0.0", fmt.Sprintf("--%sPort", srv), string(port))
105+
cmd = append(cmd, fmt.Sprintf("--%sHost", srv), "0.0.0.0", fmt.Sprintf("--%sPort", srv), port.Port())
106106
exposedPorts = append(exposedPorts, string(port))
107107
waitingFor = append(waitingFor, wait.ForListeningPort(port))
108108
}

0 commit comments

Comments
 (0)