Skip to content

Make SIMSVC_CREDITS_URL and SIMSVC_PAYMENTS_URL required

Marcos Huck requested to merge fix/env_vars_required into develop

Related tasks

Context

We've been getting an error when the SIMSVC_CREDITS_URL and SIMSVC_PAYMENTS_URL env vars were not properly set: Base error: Get "/credits": unsupported protocol scheme ""

Change

This MR adds a check for both env vars to be set when the billing service is enabled, preventing the protocol scheme error from happening.

Other information

Additional documentation

Edited by Marcos Huck

Merge request reports