mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
AWS: Log the distro when we don't recognize it
Similar to #15070, we should log the distro if we're going to tell the user we can't match it (so the user can see if they have typoed it, and so it will hopefully be included to us in error reports)
This commit is contained in:
parent
26be3c3b95
commit
d898834037
@ -244,7 +244,7 @@ case "${KUBE_OS_DISTRIBUTION}" in
|
||||
detect-jessie-image
|
||||
;;
|
||||
*)
|
||||
echo "Please specify AWS_IMAGE directly (distro not recognized)"
|
||||
echo "Please specify AWS_IMAGE directly (distro ${KUBE_OS_DISTRIBUTION} not recognized)"
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user