diff --git a/internal/storage/netreassert_test.go b/internal/storage/netreassert_test.go index 3cba6c0..6264ba0 100644 --- a/internal/storage/netreassert_test.go +++ b/internal/storage/netreassert_test.go @@ -99,7 +99,7 @@ func TestReassertNetworkAutomounts_ResetsFailedThenRearms(t *testing.T) { } unitDir := t.TempDir() spec := NetworkMountSpec{Name: "media", Protocol: ProtocolNFS, Server: "10.0.0.5", Export: "/srv/media", MappedUID: 1000, MappedGID: 1000} - where, autoUnit := installNetUnitFile(t, unitDir, spec) + _, autoUnit := installNetUnitFile(t, unitDir, spec) // Nothing mounted (fstype "" — a start-limited automount), and the automount unit is in failed state. ops, rr := netReassertOps(t, unitDir, nil, autoUnit)