Skip to content

Commit fe68fdc

Browse files
clean up
1 parent 5779dda commit fe68fdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework/components/dockercompose/billing_platform_service/billing_platform_service.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ func New(in *Input) (*Output, error) {
221221
}
222222

223223
// get mapped ports for billing platform service
224-
serviceOutput, err := getExternalPorts(ctx, billingExternalHost, envVars, billingContainer)
224+
serviceOutput, err := getExternalPorts(ctx, billingExternalHost, billingContainer)
225225
if err != nil {
226226
return nil, errors.Wrap(err, "failed to get mapped port for Billing Platform Service")
227227
}
@@ -243,7 +243,7 @@ func New(in *Input) (*Output, error) {
243243
return output, nil
244244
}
245245

246-
func getExternalPorts(ctx context.Context, billingExternalHost string, envVars map[string]string, billingContainer *testcontainers.DockerContainer) (*BillingPlatformServiceOutput, error) {
246+
func getExternalPorts(ctx context.Context, billingExternalHost string, billingContainer *testcontainers.DockerContainer) (*BillingPlatformServiceOutput, error) {
247247
ports := map[string]nat.Port{
248248
"billing": DEFAULT_BILLING_PLATFORM_SERVICE_BILLING_GRPC_PORT,
249249
"credit": DEFAULT_BILLING_PLATFORM_SERVICE_CREDIT_GRPC_PORT,

0 commit comments

Comments
 (0)