mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-05 13:49:57 +02:00
Fix nil vs. empty list issue in v2 policy test
This commit is contained in:
parent
c98692a26b
commit
7de444f5e5
@ -41,7 +41,7 @@ func TestPolicyManager(t *testing.T) {
|
|||||||
pol: "{}",
|
pol: "{}",
|
||||||
nodes: types.Nodes{},
|
nodes: types.Nodes{},
|
||||||
wantFilter: nil,
|
wantFilter: nil,
|
||||||
wantMatchers: nil,
|
wantMatchers: []matcher.Match{},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user