if slices.Contains(endpointsFromGroups, endpointID) {
            edgeJob.GroupLogsCollection[endpointID] = portainer.EdgeJobEndpointMeta{
                CollectLogs: true,
                LogsStatus:  portainer.EdgeJobLogsStatusPending,
            }