mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-04 07:49:35 +00:00 
			
		
		
		
	Updated AWS SDK to v1.16.26 for ECR privatelink support
This commit is contained in:
		
							
								
								
									
										7
									
								
								vendor/github.com/aws/aws-sdk-go/private/protocol/query/queryutil/queryutil.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								vendor/github.com/aws/aws-sdk-go/private/protocol/query/queryutil/queryutil.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -233,7 +233,12 @@ func (q *queryParser) parseScalar(v url.Values, r reflect.Value, name string, ta
 | 
			
		||||
		v.Set(name, strconv.FormatFloat(float64(value), 'f', -1, 32))
 | 
			
		||||
	case time.Time:
 | 
			
		||||
		const ISO8601UTC = "2006-01-02T15:04:05Z"
 | 
			
		||||
		v.Set(name, value.UTC().Format(ISO8601UTC))
 | 
			
		||||
		format := tag.Get("timestampFormat")
 | 
			
		||||
		if len(format) == 0 {
 | 
			
		||||
			format = protocol.ISO8601TimeFormatName
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		v.Set(name, protocol.FormatTime(format, value))
 | 
			
		||||
	default:
 | 
			
		||||
		return fmt.Errorf("unsupported value for param %s: %v (%s)", name, r.Interface(), r.Type().Name())
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user