We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e90296f commit b706c36Copy full SHA for b706c36
components/ide/jetbrains/launcher/main.go
@@ -298,6 +298,13 @@ func serve(launchCtx *LaunchContext) {
298
fmt.Fprint(w, jsonLink)
299
})
300
http.HandleFunc("/status", func(w http.ResponseWriter, r *http.Request) {
301
+ test := func() bool {
302
+ return true
303
+ }
304
+ if test() {
305
+ http.Error(w, "test not ready", http.StatusServiceUnavailable)
306
+ return
307
308
if launchCtx.preferToolbox {
309
response := make(map[string]string)
310
toolboxLink, err := resolveToolboxLink(launchCtx.wsInfo)
0 commit comments