mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 10:18:13 +00:00 
			
		
		
		
	Bump kube-openapi
This commit is contained in:
		
							
								
								
									
										17
									
								
								vendor/github.com/go-openapi/swag/util.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								vendor/github.com/go-openapi/swag/util.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -99,10 +99,11 @@ const ( | ||||
| ) | ||||
|  | ||||
| // JoinByFormat joins a string array by a known format (e.g. swagger's collectionFormat attribute): | ||||
| //		ssv: space separated value | ||||
| //		tsv: tab separated value | ||||
| //		pipes: pipe (|) separated value | ||||
| //		csv: comma separated value (default) | ||||
| // | ||||
| //	ssv: space separated value | ||||
| //	tsv: tab separated value | ||||
| //	pipes: pipe (|) separated value | ||||
| //	csv: comma separated value (default) | ||||
| func JoinByFormat(data []string, format string) []string { | ||||
| 	if len(data) == 0 { | ||||
| 		return data | ||||
| @@ -124,11 +125,11 @@ func JoinByFormat(data []string, format string) []string { | ||||
| } | ||||
|  | ||||
| // SplitByFormat splits a string by a known format: | ||||
| //		ssv: space separated value | ||||
| //		tsv: tab separated value | ||||
| //		pipes: pipe (|) separated value | ||||
| //		csv: comma separated value (default) | ||||
| // | ||||
| //	ssv: space separated value | ||||
| //	tsv: tab separated value | ||||
| //	pipes: pipe (|) separated value | ||||
| //	csv: comma separated value (default) | ||||
| func SplitByFormat(data, format string) []string { | ||||
| 	if data == "" { | ||||
| 		return nil | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Olivier Lemasle
					Olivier Lemasle