Skip to content

Commit

Permalink
Merge pull request kubernetes#26528 from johscheuer/hack-update-api-docs
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

Fixes kubernetes#26526 - hack/update-api-reference-docs.sh

I opened a Pull request to fix this issue kubernetes#26526

The problem is that the update script ignores white spaces but the verify script doesn't which leads to a strange behaviour -> you use the update script but the verify script tells you that the api docs are not up to date.
  • Loading branch information
k8s-merge-robot committed Jun 3, 2016
2 parents 4c31697 + ec26e62 commit 0a2a7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/update-api-reference-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ while read file; do

# By now, the contents should be normalized and stripped of any
# auto-managed content.
if diff -Bw >/dev/null <(echo "${original}") <(echo "${generated}"); then
if diff -B >/dev/null <(echo "${original}") <(echo "${generated}"); then
# actual contents same, overwrite generated with original.
cp "${OUTPUT}/${file}" "${OUTPUT_TMP}/${file}"
fi
Expand Down

0 comments on commit 0a2a7a9

Please sign in to comment.