Skip to content

fix: use MAAS URL to build absolute uri#287

Merged
troyanov merged 2 commits intocanonical:masterfrom
troyanov:uri-fix
Jul 14, 2023
Merged

fix: use MAAS URL to build absolute uri#287
troyanov merged 2 commits intocanonical:masterfrom
troyanov:uri-fix

Conversation

@troyanov
Copy link
Copy Markdown
Member

When MAAS is behind a load-balancer or proxy
(e.g. HAProxy with mode tcp), we should use MAAS URL stored in profile to build absolute URI of a resource, instead of relying on uri property returned by /describe.

When MAAS is behind a load-balancer or proxy
(e.g. HAProxy with `mode tcp`), we should use MAAS URL stored in profile
to build absolute URI of a resource, instead of relying on `uri` property
returned by `/describe`.
Copy link
Copy Markdown
Contributor

@r00ta r00ta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@troyanov troyanov merged commit 26f533a into canonical:master Jul 14, 2023
@troyanov troyanov deleted the uri-fix branch July 14, 2023 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants