Skip to content

Commit 1a63e6f

Browse files
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.
1 parent ba35704 commit 1a63e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/kubelet_dockershim_nodocker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ func runDockershim(kubeCfg *kubeletconfiginternal.KubeletConfiguration,
3232
remoteImageEndpoint string,
3333
nonMasqueradeCIDR string) error {
3434

35-
return fmt.Errorf("trying to use docker runtime, w/ Kubelet compiled w/o docker support")
35+
return fmt.Errorf("trying to use docker runtime when Kubelet was compiled without docker support")
3636
}

0 commit comments

Comments
 (0)