Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disregard internal href #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Disregard internal href #1

wants to merge 1 commit into from

Conversation

khalidharun
Copy link

Summary

The API client errors when trying to access nested resources. This happens because each resource has an HREF resource url attached to it but this resource url is based on an internal hostname which isn't accessible in Azure.

This PR makes the host url based on parent's hostname.

if self._href is not None:
return self._href
# if self._href is not None:
# return self._href

Choose a reason for hiding this comment

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

Is there a reason to keep this code here commented out? Otherwise, good to merge.

@zhelding
Copy link

@khalidharun: one small comment / suggestion, but have marked as approved so can be merged at your discretion.

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