mirror of https://github.com/k3s-io/k3s
Expose errors from godep_restored to caller
Otherwise, if the function crashes, the user doesn't see the reason why it happened.k3s-v1.15.3
parent
0df79e4daa
commit
5e28d4e91e
|
@ -23,7 +23,7 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
|
|||
|
||||
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"
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue