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

Handle missing instance.resolved_middleware in asset_updates #2084

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

Ashesh3
Copy link
Member

@Ashesh3 Ashesh3 commented Apr 15, 2024

Fixes: #2083

This pull request fixes a bug in the asset_updates.py file where the code was not handling the case when the instance.resolved_middleware is None. The fix ensures that the code properly checks for this condition before proceeding.
It returns none when the middleware_hostname is null in all 3 places

@Ashesh3 Ashesh3 requested a review from a team as a code owner April 15, 2024 08:36
@Ashesh3 Ashesh3 added the P1 High priority; urgent label Apr 15, 2024
@vigneshhari vigneshhari merged commit 830a82b into develop Apr 15, 2024
9 checks passed
@vigneshhari vigneshhari deleted the fix-asset-creation branch April 15, 2024 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 High priority; urgent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: 'NoneType' object has no attribute 'get'
5 participants