Skip to content

Commit d891957

Browse files
committed
parameters suck
1 parent 1a02452 commit d891957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wrongsecrets-balancer/src/kubernetes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ const createAzureDeploymentForTeam = async ({ team, passcodeHash }) => {
10951095
const getKubernetesEndpointToWhitelist = async () => {
10961096
try {
10971097
// FIX: Use correct parameter order and response structure
1098-
const response = await k8sCoreApi.readNamespacedEndpoints('kubernetes', 'default');
1098+
const response = await k8sCoreApi.readNamespacedEndpoints({name:'kubernetes', namespace:'default'});
10991099

11001100
// FIX: Extract subsets from the correct response structure
11011101
const subsets = response.body.subsets;

0 commit comments

Comments
 (0)