Skip to content

Commit

Permalink
Changed Process to OS Arch
Browse files Browse the repository at this point in the history
  • Loading branch information
huzaifa-msft committed May 13, 2024
1 parent 4165e44 commit 853b3de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public ComputeSystemOperations SupportedOperations
ComputeSystemOperations.ApplyConfiguration;

// Remove ApplyConfiguration operation for ARM devices.
var arch = RuntimeInformation.ProcessArchitecture;
var arch = RuntimeInformation.OSArchitecture;
if (arch == Architecture.Arm64 || arch == Architecture.Arm || arch == Architecture.Armv6)
{
supportedOperations &= ~ComputeSystemOperations.ApplyConfiguration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public ComputeSystemProviderOperations SupportedOperations
get
{
// Disable the create operation for ARM devices.
var arch = RuntimeInformation.ProcessArchitecture;
var arch = RuntimeInformation.OSArchitecture;
if (arch == Architecture.Arm64 || arch == Architecture.Arm || arch == Architecture.Armv6)
{
return ComputeSystemProviderOperations.None;
Expand Down

0 comments on commit 853b3de

Please sign in to comment.