Better error message if etcd not installed
This commit is contained in:

committed by
Mosmi Mannancheril

parent
1658e70ff5
commit
861ab506ea
@@ -24,6 +24,7 @@ kube::etcd::validate() {
|
||||
# validate if in path
|
||||
command -v etcd >/dev/null || {
|
||||
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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user