Merge pull request #26094 from mhrgoog/godeps_verify_echo

Godeps verify echo
This commit is contained in:
Alex Robinson 2016-05-27 11:27:01 -07:00
commit aa4e182656

View File

@ -98,7 +98,9 @@ hack/godep-save.sh
if ! _out="$(diff -Naupr --ignore-matching-lines='^\s*\"GoVersion\":' --ignore-matching-line='^\s*\"GodepVersion\":' --ignore-matching-lines='^\s*\"Comment\":' ${KUBE_ROOT}/Godeps/Godeps.json ${_kubetmp}/Godeps/Godeps.json)"; then
echo "Your Godeps.json is different:"
echo "${_out}"
echo "Godeps Verify failed."
exit 1
fi
echo "Godeps Verified."
# ex: ts=2 sw=2 et filetype=sh