[no-relnote] Fix QF1008: could remove embedded field lint errors

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar
2025-04-02 14:10:33 +02:00
parent bee1969bbf
commit c1c6534b1f
3 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ func WithDriverDotSoSymlinks(mounts Discover, version string, nvidiaCDIHookPath
// Hooks returns a hook to create the additional symlinks based on the mounts.
func (d *additionalSymlinks) Hooks() ([]Hook, error) {
mounts, err := d.Discover.Mounts()
mounts, err := d.Mounts()
if err != nil {
return nil, fmt.Errorf("failed to get library mounts: %v", err)
}