test: fix unused var in reassert test
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017CDMFpFx84pfviCTVuGGhf
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user