Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 564938d

Browse files
committed
fix docker_utils issue
1 parent 4b636d5 commit 564938d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration-cli/docker_utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
"github.com/docker/go-connections/sockets"
3535
"github.com/docker/go-connections/tlsconfig"
3636
"github.com/go-check/check"
37-
HyperCli "github.com/hyperhq/hyper-api/client"
37+
"github.com/hyperhq/hyper-api/signature"
3838
"github.com/hyperhq/hyper-api/types"
3939
"github.com/hyperhq/hypercli/cliconfig"
4040
)
@@ -642,7 +642,7 @@ func newRequestClient(method, endpoint string, data io.Reader, ct string) (*http
642642
region = cliconfig.DefaultHyperRegion
643643
}
644644
//calculate sign4 for apirouter
645-
req = HyperCli.Sign4(os.Getenv("ACCESS_KEY"), os.Getenv("SECRET_KEY"), req, region)
645+
req = signature.Sign4(os.Getenv("ACCESS_KEY"), os.Getenv("SECRET_KEY"), req, region)
646646

647647
//for debug
648648
if endpoint == debugEndpoint {

0 commit comments

Comments
 (0)