Skip to content

Commit 077047b

Browse files

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/driver/nodeserver_helpers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ func (ns *NodeServer) findDevicePath(ctx context.Context, key linodevolumes.Lino
179179

180180
// If no device path is found, return an error.
181181
if devicePath == "" {
182-
return "", errInternal("Unable to find device path out of attempted paths: %v", devicePaths)
182+
return "", errNotFound("Unable to find device path out of attempted paths: %v", devicePaths)
183183
}
184184

185185
// If a device path is found, return it.

0 commit comments

Comments
 (0)