From ee4571a93e7cc0344e947b0b293df2cea8748773 Mon Sep 17 00:00:00 2001 From: xyctruth <398041993@qq.com> Date: Thu, 23 Jun 2022 18:11:00 +0800 Subject: [PATCH] fix package reference --- dtmcli/dtmimp/utils.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dtmcli/dtmimp/utils.go b/dtmcli/dtmimp/utils.go index 71b2860..363c98c 100644 --- a/dtmcli/dtmimp/utils.go +++ b/dtmcli/dtmimp/utils.go @@ -20,8 +20,6 @@ import ( "sync" "time" - "github.com/dtm-labs/dtm/dtmcli" - "github.com/dtm-labs/dtm/dtmcli/logger" "github.com/go-resty/resty/v2" ) @@ -245,7 +243,7 @@ func JsonRpcRespAsError(resp *resty.Response) error { if rerr["code"] == JrpcCodeFailure { return fmt.Errorf("%s. %w", str, ErrFailure) } else if rerr["code"] == JrpcCodeOngoing { - return dtmcli.ErrOngoing + return ErrOngoing } return errors.New(resp.String()) }