适配引擎变更

This commit is contained in:
dexter
2022-03-01 20:43:22 +08:00
parent 9b165bb4f3
commit 13e8d4e6a2
2 changed files with 1 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ import (
)
func (puller *HDLPuller) Connect() (err error) {
puller.ReConnectCount++
log.Info("connect", zap.String("remoteURL", puller.RemoteURL))
if strings.HasPrefix(puller.RemoteURL, "http") {
var res *http.Response