fix(files): 服务器运行时下载文件的拒绝说明改为先停服再操作文件
This commit is contained in:
3 files changed
+8
-3
No files matched your search
@@ -582,7 +582,7 @@ func (a *API) handleDownloadFile(w http.ResponseWriter, r *http.Request) {
|
||||
writeError(w, r, err)
|
||||
return
|
||||
}
|
||||
release, ok := a.acquireWorld(w, r, name, maintenance.KindExport, "stop the server before editing its files")
|
||||
release, ok := a.acquireWorld(w, r, name, maintenance.KindExport, "stop the server before downloading its files")
|
||||
if !ok {
|
||||
reg.drop(e)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user