feat(storage): add native PostgreSQL runtime and verified offline application import
Build and publish container images / images (push) Failing after 12m29s
Build and publish container images / images (push) Failing after 12m29s
This commit is contained in:
1 parent
96065d1e89
commit
0ba1dcfef0
243 files changed
+21441
-3090
No files matched your search
@@ -29,6 +29,10 @@ func zombieAPIOptions(r *http.Request) (int64, int, error) {
|
||||
}
|
||||
|
||||
func (s *Server) handleZombieListAPI(w http.ResponseWriter, r *http.Request) {
|
||||
if !s.store.SupportsZombieGC() {
|
||||
http.Error(w, store.ErrBackendFeatureUnavailable.Error(), http.StatusServiceUnavailable)
|
||||
return
|
||||
}
|
||||
if r.Method != http.MethodGet {
|
||||
w.Header().Set("Allow", http.MethodGet)
|
||||
http.Error(w, "method not allowed", http.StatusMethodNotAllowed)
|
||||
@@ -50,6 +54,10 @@ func (s *Server) handleZombieListAPI(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
func (s *Server) handleZombiePurgeAPI(w http.ResponseWriter, r *http.Request) {
|
||||
if !s.store.SupportsZombieGC() {
|
||||
http.Error(w, store.ErrBackendFeatureUnavailable.Error(), http.StatusServiceUnavailable)
|
||||
return
|
||||
}
|
||||
if r.Method != http.MethodPost {
|
||||
w.Header().Set("Allow", http.MethodPost)
|
||||
http.Error(w, "method not allowed", http.StatusMethodNotAllowed)
|
||||
|
||||
Reference in new issue
Block a user