We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60c248e commit 49b2111Copy full SHA for 49b2111
lib/charms/mysql/v0/architecture.py
@@ -81,8 +81,10 @@ def is_wrong_architecture() -> bool:
81
manifest_archs.extend(base_archs)
82
83
hardware_arch = platform.machine()
84
- if ("amd64" in manifest_archs and hardware_arch == "x86_64") or (
85
- "arm64" in manifest_archs and hardware_arch == "aarch64"
+ if (
+ ("amd64" in manifest_archs and hardware_arch == "x86_64")
86
+ or ("arm64" in manifest_archs and hardware_arch == "aarch64")
87
+ or ("s390x" in manifest_archs and hardware_arch == "s390x")
88
):
89
logger.debug("Charm architecture matches")
90
return False
0 commit comments