mirror of
https://github.com/gotoeasy/glogcenter.git
synced 2025-09-15 12:58:34 +08:00
fix
This commit is contained in:
parent
191a796c6d
commit
567d68e2e6
@ -85,6 +85,9 @@ func StorageDeleteController(req *gweb.HttpRequest) *gweb.HttpResult {
|
||||
cmn.Error("日志仓", name, "删除失败", err)
|
||||
return gweb.Error500("日志仓 " + name + " 正在使用,不能删除")
|
||||
}
|
||||
|
||||
cacheTime = time.Now().Add(-1 * time.Hour) // 让检索时不用缓存名,避免查询不存在的日志仓
|
||||
|
||||
return gweb.Ok()
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user