Skip to content

Commit

Permalink
Merge pull request #646 from dolfinus/fix_kube_ingress_proxy_404
Browse files Browse the repository at this point in the history
[KubeIngressProxy] Fix 404 error in `add_route`
  • Loading branch information
consideRatio committed Oct 14, 2022
2 parents a69f23d + 3f39cab commit 65e9896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubespawner/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ async def ensure_object(create_func, patch_func, body, kind):
'Could not find endpoints/%s after creating it' % safe_name,
)
else:
delete_endpoint = await self.core_api.delete_namespaced_endpoints(
delete_endpoint = self.core_api.delete_namespaced_endpoints(
name=safe_name,
namespace=self.namespace,
body=client.V1DeleteOptions(grace_period_seconds=0),
Expand Down

0 comments on commit 65e9896

Please sign in to comment.