mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Remove unintended ampersand in front of in.Current.AverageValue
This commit is contained in:
		@@ -212,9 +212,7 @@ func Convert_v2beta1_PodsMetricSource_To_autoscaling_PodsMetricSource(in *autosc
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func Convert_autoscaling_ExternalMetricStatus_To_v2beta1_ExternalMetricStatus(in *autoscaling.ExternalMetricStatus, out *autoscalingv2beta1.ExternalMetricStatus, s conversion.Scope) error {
 | 
			
		||||
	if &in.Current.AverageValue != nil {
 | 
			
		||||
		out.CurrentAverageValue = in.Current.AverageValue
 | 
			
		||||
	}
 | 
			
		||||
	out.CurrentAverageValue = in.Current.AverageValue
 | 
			
		||||
	out.MetricName = in.Metric.Name
 | 
			
		||||
	if in.Current.Value != nil {
 | 
			
		||||
		out.CurrentValue = *in.Current.Value
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user