mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 18:28:13 +00:00 
			
		
		
		
	Ignore .import-restrictions when checking against generated docs
This commit is contained in:
		| @@ -55,7 +55,7 @@ cp -a "${DIFFROOT}"/* "${TMP_DIFFROOT}/" | |||||||
| "${KUBE_ROOT}/hack/update-generated-swagger-docs.sh" | "${KUBE_ROOT}/hack/update-generated-swagger-docs.sh" | ||||||
| echo "diffing ${DIFFROOT} against freshly generated swagger type documentation" | echo "diffing ${DIFFROOT} against freshly generated swagger type documentation" | ||||||
| ret=0 | ret=0 | ||||||
| diff -Naupr -I 'Auto generated by' "${DIFFROOT}" "${TMP_DIFFROOT}" || ret=$? | diff --exclude=".import-restrictions" -Naupr -I 'Auto generated by' "${DIFFROOT}" "${TMP_DIFFROOT}" || ret=$? | ||||||
| cp -a "${TMP_DIFFROOT}"/* "${DIFFROOT}/" | cp -a "${TMP_DIFFROOT}"/* "${DIFFROOT}/" | ||||||
| if [[ $ret -eq 0 ]] | if [[ $ret -eq 0 ]] | ||||||
| then | then | ||||||
|   | |||||||
| @@ -69,7 +69,7 @@ const ( | |||||||
|  |  | ||||||
| 	// LabelNodeRoleExcludeBalancer specifies that the node should be | 	// LabelNodeRoleExcludeBalancer specifies that the node should be | ||||||
| 	// exclude from load balancers created by a cloud provider. | 	// exclude from load balancers created by a cloud provider. | ||||||
| 	LabelNodeRoleExcludeBalancer = "node.role.kubernetes.io/exclude-balancer" | 	LabelNodeRoleExcludeBalancer = "alpha.node.role.kubernetes.io/exclude-balancer" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| type cachedService struct { | type cachedService struct { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Davanum Srinivas
					Davanum Srinivas