chore: filer healthz handler check filer store (#5208)

This commit is contained in:
Konstantin Lebedev
2024-01-17 20:46:37 +05:00
committed by GitHub
parent f9cf13fada
commit 4e9ea1e628
2 changed files with 10 additions and 1 deletions

View File

@@ -171,6 +171,7 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
}
if defaultMux != readonlyMux {
handleStaticResources(readonlyMux)
readonlyMux.HandleFunc("/healthz", fs.filerHealthzHandler)
readonlyMux.HandleFunc("/", fs.readonlyFilerHandler)
}