Skip to content

Commit cbde929

Browse files
ensure diff for machine config inputs
1 parent 1c02faa commit cbde929

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

pkg/resources/provider.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,9 +525,14 @@ func endpointDeploymentEqual(inputDeployment, stateDeployment *EndpointModelDepl
525525
// Compare all fields
526526
return inputDeployment.EndpointID == stateDeployment.EndpointID &&
527527
inputDeployment.MachineType == stateDeployment.MachineType &&
528+
inputDeployment.AcceleratorType == stateDeployment.AcceleratorType &&
529+
inputDeployment.AcceleratorCount == stateDeployment.AcceleratorCount &&
528530
inputDeployment.MinReplicas == stateDeployment.MinReplicas &&
529531
inputDeployment.MaxReplicas == stateDeployment.MaxReplicas &&
530-
inputDeployment.TrafficPercent == stateDeployment.TrafficPercent
532+
inputDeployment.TrafficPercent == stateDeployment.TrafficPercent &&
533+
inputDeployment.DisableContainerLogging == stateDeployment.DisableContainerLogging &&
534+
inputDeployment.EnableAccessLogging == stateDeployment.EnableAccessLogging &&
535+
inputDeployment.EnableSpotVMs == stateDeployment.EnableSpotVMs
531536
}
532537

533538
// isResourceNotFoundError detects if the error indicates the resource doesn't exist

0 commit comments

Comments
 (0)