Skip to content

Commit

Permalink
Fix panic in TestVlansAndBonds
Browse files Browse the repository at this point in the history
I have accidentaly added duplicate call to release() in TestVlansAndBonds
as part of my recently merged PR.

Signed-off-by: Milan Lenco <milan@zededa.com>
  • Loading branch information
milan-zededa authored and eriknordmark committed Jun 22, 2024
1 parent d235c79 commit 4f1a850
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/pillar/dpcreconciler/linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,6 @@ func TestVlansAndBonds(test *testing.T) {
t.Expect(vlan200.ParentLL).To(BeEquivalentTo("bond-shopfloor"))
t.Expect(vlan200.ParentIfName).To(BeEquivalentTo("bond0"))
t.Expect(vlan200.MTU).To(BeEquivalentTo(3000))
release()

vlan100AdapterRef := dg.Reference(linux.Adapter{IfName: "shopfloor.100"})
item, _, _, found = currentState.Item(vlan100AdapterRef)
Expand Down

0 comments on commit 4f1a850

Please sign in to comment.