chore: removed internal server error

This commit is contained in:
nikhilmantri0902
2026-04-21 21:30:01 +05:30
parent 49a36d4e3d
commit 0189f23f46

View File

@@ -41,7 +41,7 @@ func (provider *provider) addInfraMonitoringRoutes(router *mux.Router) error {
Response: new(inframonitoringtypes.Pods),
ResponseContentType: "application/json",
SuccessStatusCode: http.StatusOK,
ErrorStatusCodes: []int{http.StatusBadRequest, http.StatusUnauthorized, http.StatusInternalServerError},
ErrorStatusCodes: []int{http.StatusBadRequest, http.StatusUnauthorized},
Deprecated: false,
SecuritySchemes: newSecuritySchemes(types.RoleViewer),
})).Methods(http.MethodPost).GetError(); err != nil {