删除一个注释

This commit is contained in:
GoEdgeLab
2021-05-23 14:31:25 +08:00
parent 6023261d83
commit 55cdc8e4cc

View File

@@ -9,7 +9,6 @@ import (
"github.com/TeaOSLab/EdgeNode/internal/remotelogs"
"github.com/TeaOSLab/EdgeNode/internal/utils"
"github.com/iwind/TeaGo/lists"
"github.com/iwind/TeaGo/logs"
"net"
"net/http"
"strings"
@@ -336,7 +335,6 @@ func (this *HTTPWriter) prepareCache(size int64) {
}
// 检查状态
logs.Println("status:", cacheRef.Status, this.StatusCode()) // TODO
if len(cacheRef.Status) > 0 && !lists.ContainsInt(cacheRef.Status, this.StatusCode()) {
return
}