mirror of https://github.com/k3s-io/k3s
Merge pull request #26528 from johscheuer/hack-update-api-docs
Automatic merge from submit-queue Fixes #26526 - hack/update-api-reference-docs.sh I opened a Pull request to fix this issue https://github.com/kubernetes/kubernetes/issues/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.pull/6/head
commit
0a2a7a9d6a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue