Skip to content

handle LABEU env #21211

@rjamet-ovh

Description

@rjamet-ovh

Have you already contact our help centre?

  • Yes, I have contact the help centre.

Describe the problem

LABEU is missing from the region information provided in the shell.

  const { environment } = useShellContext();
  const region = environment.getRegion(); // region: Region

packages/manager/modules/config/src/environment/region.enum.ts

export enum Region {
  US = 'US',
  CA = 'CA',
  EU = 'EU',
}

This issue prevents the manager from working properly in the LABEU environment.

Describe the solution

To resolve this, we need a way to determine if we are currently in the LABEU environment.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions