diff --git a/src/confcom/azext_confcom/kata_proxy.py b/src/confcom/azext_confcom/kata_proxy.py index 320d3046db6..d17655257e9 100644 --- a/src/confcom/azext_confcom/kata_proxy.py +++ b/src/confcom/azext_confcom/kata_proxy.py @@ -41,7 +41,7 @@ def download_binaries(): needed_assets = ["genpolicy", "genpolicy.exe"] # search for genpolicy in the assets from kata-container releases for release in r.json(): - if release.get("tag_name").startswith("genpolicy"): + if "genpolicy" in release.get("tag_name"): # these should be newest to oldest for asset in release["assets"]: # download the file if it contains genpolicy