Commit 5e28d4e9 authored by Ihar Hrachyshka's avatar Ihar Hrachyshka

Expose errors from godep_restored to caller

Otherwise, if the function crashes, the user doesn't see the reason why it happened.
parent 0df79e4d
...@@ -23,7 +23,7 @@ source "${KUBE_ROOT}/hack/lib/init.sh" ...@@ -23,7 +23,7 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
kube::log::status "Restoring kubernetes godeps" kube::log::status "Restoring kubernetes godeps"
if kube::util::godep_restored >/dev/null 2>&1; then if kube::util::godep_restored 2>&1; then
kube::log::status "Dependencies appear to be current - skipping download" kube::log::status "Dependencies appear to be current - skipping download"
exit 0 exit 0
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment