diff --git a/controllers/sriovnetworknodepolicy_controller.go b/controllers/sriovnetworknodepolicy_controller.go index 5f5fc4373..e913530a5 100644 --- a/controllers/sriovnetworknodepolicy_controller.go +++ b/controllers/sriovnetworknodepolicy_controller.go @@ -348,7 +348,7 @@ func (r *SriovNetworkNodePolicyReconciler) syncSriovNetworkNodeState(ctx context } } newVersion.Spec.DpConfigVersion = cksum - if equality.Semantic.DeepDerivative(newVersion.Spec, found.Spec) { + if equality.Semantic.DeepEqual(newVersion.Spec, found.Spec) { logger.Info("SriovNetworkNodeState did not change, not updating") return nil }