HDL插件导出

This commit is contained in:
dexter
2022-09-04 11:53:45 +08:00
parent b109dd48a6
commit e0fb371fd9
2 changed files with 11 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ import (
)
func (puller *HDLPuller) Connect() (err error) {
plugin.Info("connect", zap.String("remoteURL", puller.RemoteURL))
HDLPlugin.Info("connect", zap.String("remoteURL", puller.RemoteURL))
if strings.HasPrefix(puller.RemoteURL, "http") {
var res *http.Response
if res, err = http.Get(puller.RemoteURL); err == nil {
@@ -72,4 +72,4 @@ type HDLPuller struct {
Publisher
Puller
absTS uint32 //绝对时间戳
}
}