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

Added fix for auto update docker image field #4287

Merged
merged 5 commits into from
Jun 19, 2024

Conversation

anas-yousef
Copy link
Contributor

@anas-yousef anas-yousef commented May 20, 2024

Related Issues

fixes:https://jira-dc.paloaltonetworks.com/browse/CIAC-10899

Description

To take into consideration if the YAML contains a boolean or string value

@anas-yousef anas-yousef requested a review from JudahSchwartz May 20, 2024 14:25
Copy link

Changelog(s) in markdown:

  • Added a fix where the auto_update_docker_image field was not updated correctly in the the content-graph. #4287

@@ -91,4 +91,4 @@ def subtype(self):
def auto_update_docker_image(self):
return (
get_value(self.yml_data, "autoUpdateDockerImage", "")
).lower() != "false"
).lower() not in ("false", False)
Copy link
Contributor

Choose a reason for hiding this comment

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

lets add a test that a yml provided with no input at all defaults to auto_update_docker_image = True

Copy link

Changelog(s) in markdown:

  • Added a fix where the auto_update_docker_image field was not updated correctly in the the content-graph. #4287

@anas-yousef anas-yousef merged commit 8215718 into master Jun 19, 2024
25 checks passed
@anas-yousef anas-yousef deleted the ay-auto-update-docker-field-fix branch June 19, 2024 12:35
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