User Request
Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: 97afc71b-2f9c-47c0-953b-a911a4a1b836
Description
What happened:
In pkg/api/handlers/admission_webhooks.go:80, c.Status(500) is returned on cluster-discovery failure despite statusServiceUnavailableWebhook = 503 being defined at line 60. The nil-client path at line 66 correctly uses the constant.
What I expected:
Line 80 should use c.Status(statusServiceUnavailableWebhook) consistent with line 66.
Steps to reproduce:
- Trigger a cluster discovery failure in the admission webhooks handler
- Observe HTTP 500 instead of 503
This issue was automatically created from the KubeStellar Console.
User Request
Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: 97afc71b-2f9c-47c0-953b-a911a4a1b836
Description
What happened:
In
pkg/api/handlers/admission_webhooks.go:80,c.Status(500)is returned on cluster-discovery failure despitestatusServiceUnavailableWebhook = 503being defined at line 60. The nil-client path at line 66 correctly uses the constant.What I expected:
Line 80 should use
c.Status(statusServiceUnavailableWebhook)consistent with line 66.Steps to reproduce:
This issue was automatically created from the KubeStellar Console.