Skip to content

Commit

Permalink
Allow editing pools when multiple pools exist
Browse files Browse the repository at this point in the history
  • Loading branch information
allanrogerr committed Jan 25, 2024
1 parent 32282cc commit 52440a9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const editPoolAsync = createAsyncThunk(
switch (affinityType) {
case "default":
affinityObject = {
affinity: getDefaultAffinity(tenant.name!, poolName),
affinity: getDefaultAffinity(tenant.name!, selectedPool!),
};
break;
case "nodeSelector":
Expand All @@ -69,7 +69,7 @@ export const editPoolAsync = createAsyncThunk(
nodeSelectorLabels,
withPodAntiAffinity,
tenant.name!,
poolName,
selectedPool!,
),
};
break;
Expand Down

0 comments on commit 52440a9

Please sign in to comment.