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:
2026-07-12 07:49:58 +02:00
parent bc4eda926b
commit a527b29ac3
+1 -1
View File
@@ -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)