Skip to content

Commit 2c19a99

Browse files
committed
update logger
1 parent 0e86365 commit 2c19a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/mount/mount.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func (m *mounter) getDevicePathBySerialID(ctx context.Context, volumeID string)
141141
return source, nil
142142
}
143143
if !os.IsNotExist(err) {
144-
fmt.Printf("Not found: %s\n", err.Error())
144+
logger.Error(err, "Failed to stat device path", "path", source)
145145
return "", err
146146
}
147147
}

0 commit comments

Comments
 (0)