mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
Better error message if etcd not installed
This commit is contained in:
parent
1658e70ff5
commit
861ab506ea
@ -24,6 +24,7 @@ kube::etcd::validate() {
|
|||||||
# validate if in path
|
# validate if in path
|
||||||
command -v etcd >/dev/null || {
|
command -v etcd >/dev/null || {
|
||||||
kube::log::usage "etcd must be in your PATH"
|
kube::log::usage "etcd must be in your PATH"
|
||||||
|
kube::log::info "You can use 'hack/install-etcd.sh' to install a copy in third_party/."
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user