mirror of
https://github.com/juanfont/headscale.git
synced 2025-12-03 21:49:52 +09:00
fix(acls,machines): apply code review suggestions
This commit is contained in:
@@ -687,7 +687,7 @@ func Test_listMachinesInNamespace(t *testing.T) {
|
||||
}
|
||||
for _, test := range tests {
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
if got := listMachinesInNamespace(test.args.machines, test.args.namespace); !reflect.DeepEqual(
|
||||
if got := filterMachinesByNamespace(test.args.machines, test.args.namespace); !reflect.DeepEqual(
|
||||
got,
|
||||
test.want,
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user