Skip to content

Commit

Permalink
Update all isDisabled filter values when not filtering (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
grace-rehn authored Oct 14, 2024
1 parent c1b29d1 commit af53baa
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Task<List<MachineResource>> GetMachines(EnvironmentResource environment,
int? take = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand All @@ -23,7 +23,7 @@ Task<EnvironmentsSummaryResource> Summary(
string partialName = null,
string machinePartialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand All @@ -47,7 +47,7 @@ public async Task<List<MachineResource>> GetMachines(EnvironmentResource environ
int? take = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down Expand Up @@ -79,7 +79,7 @@ public async Task<EnvironmentsSummaryResource> Summary(
string partialName = null,
string machinePartialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Task<ResourceCollection<MachineResource>> List(int skip = 0,
string name = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down Expand Up @@ -129,7 +129,7 @@ public async Task<ResourceCollection<MachineResource>> List(int skip = 0,
string name = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Task<List<WorkerResource>> GetMachines(WorkerPoolResource workerPool,
int? skip = 0,
int? take = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null);
Task<WorkerPoolsSummaryResource> Summary(
string ids = null,
string partialName = null,
string machinePartialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
bool? hideEmptyPools = false);
Expand All @@ -39,7 +39,7 @@ public async Task<List<WorkerResource>> GetMachines(WorkerPoolResource workerPoo
int? skip = 0,
int? take = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null)
{
Expand All @@ -65,7 +65,7 @@ public async Task<WorkerPoolsSummaryResource> Summary(
string ids = null,
string partialName = null,
string machinePartialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
bool? hideEmptyPools = false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Task<ResourceCollection<WorkerResource>> List(int skip = 0,
string ids = null,
string name = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string workerpoolIds = null);
Expand Down Expand Up @@ -65,7 +65,7 @@ public async Task<ResourceCollection<WorkerResource>> List(int skip = 0,
string ids = null,
string name = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string workerpoolIds = null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ List<MachineResource> GetMachines(EnvironmentResource environment,
int? take = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand All @@ -21,7 +21,7 @@ EnvironmentsSummaryResource Summary(
string partialName = null,
string machinePartialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand All @@ -45,7 +45,7 @@ public List<MachineResource> GetMachines(EnvironmentResource environment,
int? take = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down Expand Up @@ -78,7 +78,7 @@ public EnvironmentsSummaryResource Summary(
string partialName = null,
string machinePartialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ResourceCollection<MachineResource> List(int skip = 0,
string name = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down Expand Up @@ -134,7 +134,7 @@ public ResourceCollection<MachineResource> List(int skip = 0,
string name = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ List<WorkerResource> GetMachines(WorkerPoolResource workerPool,
int? skip = 0,
int? take = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null);
WorkerPoolsSummaryResource Summary(
string ids = null,
string partialName = null,
string machinePartialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
bool? hideEmptypools = false);
Expand All @@ -37,7 +37,7 @@ public List<WorkerResource> GetMachines(WorkerPoolResource workerPool,
int? skip = 0,
int? take = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null)
{
Expand All @@ -64,7 +64,7 @@ public WorkerPoolsSummaryResource Summary(
string ids = null,
string partialName = null,
string machinePartialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
bool? hideEmptyPools = false)
Expand Down
4 changes: 2 additions & 2 deletions source/Octopus.Server.Client/Repositories/WorkerRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ResourceCollection<WorkerResource> List(int skip = 0,
string ids = null,
string name = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string workerpoolIds = null);
Expand Down Expand Up @@ -65,7 +65,7 @@ public ResourceCollection<WorkerResource> List(int skip = 0,
string ids = null,
string name = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string workerpoolIds = null)
Expand Down

0 comments on commit af53baa

Please sign in to comment.