User Request
Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: 2f570c9c-637f-4a47-948a-e5bacdfe4da3
Description
What happened:
In pkg/api/handlers/topology.go:76, c.Status(503) is a bare integer literal with no named constant. Every other similar handler (crds.go, admission_webhooks.go, service_exports.go) defines a statusServiceUnavailableXxx = 503 constant first.
What I expected:
A named constant statusServiceUnavailableTopology = 503 should be defined and used consistent with other handlers.
Steps to reproduce:
- Review topology.go:76 and compare with crds.go:63 and admission_webhooks.go:60
- Observe the inconsistent bare literal
This issue was automatically created from the KubeStellar Console.
User Request
Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: 2f570c9c-637f-4a47-948a-e5bacdfe4da3
Description
What happened:
In
pkg/api/handlers/topology.go:76,c.Status(503)is a bare integer literal with no named constant. Every other similar handler (crds.go,admission_webhooks.go,service_exports.go) defines astatusServiceUnavailableXxx = 503constant first.What I expected:
A named constant
statusServiceUnavailableTopology = 503should be defined and used consistent with other handlers.Steps to reproduce:
This issue was automatically created from the KubeStellar Console.