User Request
Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: 63a25ca8-2b76-4c79-9a8a-519a649b2d20
Description
What happened:
In pkg/api/handlers/crds.go:83, a raw c.Status(500) is returned on cluster-discovery failure despite statusServiceUnavailableCRD = 503 being defined at line 63 for exactly this purpose. The nil-client path at line 69 correctly uses the constant. Two different status codes are returned for similar error conditions.
What I expected:
Line 83 should use c.Status(statusServiceUnavailableCRD) consistent with line 69.
Steps to reproduce:
- Trigger a cluster discovery failure
- Observe HTTP 500 instead of the expected 503
This issue was automatically created from the KubeStellar Console.
User Request
Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: 63a25ca8-2b76-4c79-9a8a-519a649b2d20
Description
What happened:
In
pkg/api/handlers/crds.go:83, a rawc.Status(500)is returned on cluster-discovery failure despitestatusServiceUnavailableCRD = 503being defined at line 63 for exactly this purpose. The nil-client path at line 69 correctly uses the constant. Two different status codes are returned for similar error conditions.What I expected:
Line 83 should use
c.Status(statusServiceUnavailableCRD)consistent with line 69.Steps to reproduce:
This issue was automatically created from the KubeStellar Console.