func AutoscalerMetricsUpdate(new, old *autoscalingv2.HorizontalPodAutoscaler) bool {
	var oldAnn, newAnn string
	if val, ok := old.Annotations["kubectl.kubernetes.io/last-applied-configuration"]; ok {
		oldAnn = val
	}
	if val, ok := new.Annotations["kubectl.kubernetes.io/last-applied-configuration"]; ok {
		newAnn = val
	}

	return old.ResourceVersion == new.ResourceVersion || oldAnn != newAnn
}
// AutoscalerMetricsUpdate will return true if the applied configuration of the Autoscaler has changed.
// We only care about updates of the metrics or their scopes.
// We also want to process the resync events, which can be identified with the resver.
AutoscalerMetricsUpdate will return true if the applied configuration of the Autoscaler has changed.
We only care about updates of the metrics or their scopes.
We also want to process the resync events, which can be identified with the resver.
// AutoscalerMetricsUpdate will return true if the applied configuration of the Autoscaler has changed . // We only care about updates of the metrics or their scopes . // We also want to process the resync events which can be identified with the resver .
func AutoscalerMetricsUpdate(new, old *autoscalingv2.HorizontalPodAutoscaler) bool {
	var oldAnn, newAnn string
	if val, ok := old.Annotations["kubectl.kubernetes.io/last-applied-configuration"]; ok {
		oldAnn = val
	}
	if val, ok := new.Annotations["kubectl.kubernetes.io/last-applied-configuration"]; ok {
		newAnn = val
	}
	return old.ResourceVersion == new.ResourceVersion || oldAnn != newAnn
}
func AutoscalerMetricsUpdate ( new , old * autoscalingv2 . HorizontalPodAutoscaler ) bool { var oldAnn , newAnn string if val , ok := old . Annotations [ " " ] ; ok { oldAnn = val } if val , ok := new . Annotations [ " " ] ; ok { newAnn = val } return old . ResourceVersion == new . ResourceVersion || oldAnn != newAnn }
AutoscalerMetricsUpdate will return true if the applied configuration of the Autoscaler has changed.
AutoscalerMetricsUpdate will return true if the applied configuration of the Autoscaler has changed .