Skip to content

Commit

Permalink
further debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dmurphy18 committed Aug 8, 2024
1 parent 4d5d93f commit 9de535a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/support/pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
from saltfactories.utils import cli_scripts

import salt.utils.files
import salt.utils.platform as dgm_platform
from tests.conftest import CODE_DIR
from tests.support.pytest.helpers import TestAccount

Expand Down Expand Up @@ -837,9 +838,9 @@ def install_previous(self, downgrade=False):
self._install_ssm_service()

elif platform.is_darwin():
if relenv and platform.is_arm64():
if relenv and dgm_platform.is_arm64():
arch = "arm64"
elif platform.is_arm64() and self.classic:
elif dgm_platform.is_arm64() and self.classic:
arch = "arm64"
else:
arch = "x86_64"
Expand All @@ -862,7 +863,7 @@ def install_previous(self, downgrade=False):
dgm_relenv = False

print(
f"DGM test/support/pkg for darwin, machine string '{platform.dgm_machine()}'",
f"DGM test/support/pkg for darwin, machine string '{dgm_platform.dgm_machine()}'",
flush=True,
)
print(
Expand Down

0 comments on commit 9de535a

Please sign in to comment.