Skip to content

Commit

Permalink
fix parser private node agent ver
Browse files Browse the repository at this point in the history
Signed-off-by: bvolovat <[email protected]>
  • Loading branch information
bvolovat committed Feb 16, 2025
1 parent 7a09eec commit 445f7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def get_node_agent_tag_from_git():

# Parse the YAML content directly from response
data = yaml.safe_load(response.text)
tag = data.get("KubescapeHelmCommandRuntimeThreatDetectionFeatureValues", {}).get("nodeAgent", {}).get("image", {}).get("tag", None)
tag = data.get('dashboardBE', {}).get('config', {}).get('KubescapeHelmCommandRuntimeThreatDetectionFeatureValues', {}).get('nodeAgent.image.tag', 'No tag found')

if tag:
print(f"Found nodeAgent.image.tag in GitHub: {tag}")
Expand Down

0 comments on commit 445f7a3

Please sign in to comment.