Skip to content

Commit eda7fbd

Browse files
committed
Ignore .import-restrictions when checking against generated docs
1 parent 21fdd1c commit eda7fbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hack/verify-generated-swagger-docs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ cp -a "${DIFFROOT}"/* "${TMP_DIFFROOT}/"
5555
"${KUBE_ROOT}/hack/update-generated-swagger-docs.sh"
5656
echo "diffing ${DIFFROOT} against freshly generated swagger type documentation"
5757
ret=0
58-
diff -Naupr -I 'Auto generated by' "${DIFFROOT}" "${TMP_DIFFROOT}" || ret=$?
58+
diff --exclude=".import-restrictions" -Naupr -I 'Auto generated by' "${DIFFROOT}" "${TMP_DIFFROOT}" || ret=$?
5959
cp -a "${TMP_DIFFROOT}"/* "${DIFFROOT}/"
6060
if [[ $ret -eq 0 ]]
6161
then

pkg/controller/service/service_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const (
6969

7070
// LabelNodeRoleExcludeBalancer specifies that the node should be
7171
// exclude from load balancers created by a cloud provider.
72-
LabelNodeRoleExcludeBalancer = "node.role.kubernetes.io/exclude-balancer"
72+
LabelNodeRoleExcludeBalancer = "alpha.node.role.kubernetes.io/exclude-balancer"
7373
)
7474

7575
type cachedService struct {

0 commit comments

Comments
 (0)