mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Clarify kubelet_dockershim_nodocker
error message
Clarify the error message returned when trying to use the docker runtime on a Kubelet that was compiled without Docker. We removed the "w/" and "w/o", which can be confusing abbreviations, and also add slightly more detail on the actual error.
This commit is contained in:
parent
ba35704b51
commit
1a63e6fead
@ -32,5 +32,5 @@ func runDockershim(kubeCfg *kubeletconfiginternal.KubeletConfiguration,
|
||||
remoteImageEndpoint string,
|
||||
nonMasqueradeCIDR string) error {
|
||||
|
||||
return fmt.Errorf("trying to use docker runtime, w/ Kubelet compiled w/o docker support")
|
||||
return fmt.Errorf("trying to use docker runtime when Kubelet was compiled without docker support")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user