Skip to content

Commit 642e8f9

Browse files
Merge branch 'main' into aqua/ADS_MS_changes
2 parents 9cefbb7 + 1638afb commit 642e8f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ads/opctl/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def build_image(image_type: str, gpu: bool = False) -> None:
154154
# Just get the manufacturer of the processors
155155
manufacturer = cpuinfo.get_cpu_info().get("brand_raw")
156156
arch = (
157-
"arm" if re.search("apple m\d ", manufacturer, re.IGNORECASE) else "other"
157+
"arm" if re.search("apple m\d", manufacturer, re.IGNORECASE) else "other"
158158
)
159159
print(f"The local machine's platform is {arch}.")
160160
image, dockerfile, target = _get_image_name_dockerfile_target(

0 commit comments

Comments
 (0)