Skip to content

Commit

Permalink
adapt packages to check for modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalmer authored and admd committed Jun 20, 2024
1 parent 1f2750d commit e731d41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions uyuni/uyuni-payg-timer/uyuni-payg-extract-data.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ def perform_compliants_checks():
cloudProvider = "GCE"

modifiedPackages = (
has_package_modifications("csp-billing-adapter-service")
has_package_modifications("python-instance-billing-flavor-check")
or has_package_modifications("csp-billing-adapter-service")
or has_package_modifications("python3-csp-billing-adapter")
or has_package_modifications("python3-csp-billing-adapter-local")
)
Expand All @@ -239,10 +240,8 @@ def perform_compliants_checks():
"python3-csp-billing-adapter-amazon"
)
elif cloudProvider == "AZURE":
modifiedPackages = (
modifiedPackages
or has_package_modifications("python311-azure-mgmt-billing")
or has_package_modifications("python3-csp-billing-adapter-microsoft")
modifiedPackages = modifiedPackages or has_package_modifications(
"python3-csp-billing-adapter-microsoft"
)

billing_service_running = is_service_running("csp-billing-adapter.service")
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- adapt packages to check for modifications

0 comments on commit e731d41

Please sign in to comment.