Skip to content

Commit c6e6fad

Browse files
committed
fix pull-kubernetes-linter-hints
1 parent b6c9c2d commit c6e6fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/kubelet_pods.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ func makeMounts(pod *v1.Pod, podDir string, container *v1.Container, hostName, h
327327

328328
err = volumevalidation.ValidatePathNoBacksteps(subPath)
329329
if err != nil {
330-
return nil, cleanupAction, fmt.Errorf("unable to provision SubPath `%s`: %v", subPath, err)
330+
return nil, cleanupAction, fmt.Errorf("unable to provision SubPath `%s`: %w", subPath, err)
331331
}
332332

333333
volumePath := hostPath

0 commit comments

Comments
 (0)