fix(acls,machines): apply code review suggestions
This commit is contained in:
parent
4f9ece14c5
commit
d00251c63e
3 changed files with 25 additions and 22 deletions
|
@ -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,
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue