From 1c46467fc6224ef0df339eeb95fc7a6553e00880 Mon Sep 17 00:00:00 2001 From: zl Date: Mon, 26 Sep 2022 10:11:36 +0800 Subject: [PATCH] fix: fix lint check --- integration_test/builder.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/integration_test/builder.go b/integration_test/builder.go index 86473cd..48a5f09 100644 --- a/integration_test/builder.go +++ b/integration_test/builder.go @@ -59,6 +59,9 @@ func (inst *WalletInst) Start() (string, error) { stats.Record(ctx, middleware.VenusInfo.M(1)) endPoint, err := inst.repo.APIEndpoint() + if err != nil { + return "", fmt.Errorf("get api endpoint failed:%w", err) + } ma, err := multiaddr.NewMultiaddr(endPoint) if err != nil {