diff --git a/lib/services/simple/access_list.go b/lib/services/simple/access_list.go index e2087358da082..24f69d6095372 100644 --- a/lib/services/simple/access_list.go +++ b/lib/services/simple/access_list.go @@ -184,7 +184,7 @@ func (a *AccessListService) DeleteAllAccessListReviews(ctx context.Context) erro } // ListAllAccessListMembers returns a paginated list of all access list members for all access lists. -func (a *AccessListService) ListAllAccessListMembers(ctx context.Context, pageSize int, pageToken string) (members []*accesslist.AccessListMember, nextToken string, err error) { - members, nextToken, err = a.memberService.ListResources(ctx, pageSize, nextToken) +func (a *AccessListService) ListAllAccessListMembers(ctx context.Context, pageSize int, pageToken string) ([]*accesslist.AccessListMember, string, error) { + members, nextToken, err := a.memberService.ListResources(ctx, pageSize, pageToken) return members, nextToken, trace.Wrap(err) }