From 44ec33010423e8a4ee04e19ec5a3059d2273ab53 Mon Sep 17 00:00:00 2001 From: web3-bot <81333946+web3-bot@users.noreply.github.com> Date: Fri, 18 Mar 2022 03:41:51 +0100 Subject: [PATCH] sync: update CI config files (#15) * disable Travis * add version.json file * add .github/workflows/automerge.yml * add .github/workflows/go-test.yml * add .github/workflows/go-check.yml * add .github/workflows/releaser.yml * add .github/workflows/release-check.yml * add .github/workflows/tagpush.yml * fix: field cid is unused (U1000) https://github.com/ipfs/go-pinning-service-http-client/runs/5594929290?check_suite_focus=true#step:10:31 Co-authored-by: web3-bot Co-authored-by: Marcin Rataj This commit was moved from ipfs/go-pinning-service-http-client@014aba06c4d68a3e367f352cdb82ea0eef73cda6 --- pinning/remote/client/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pinning/remote/client/client.go b/pinning/remote/client/client.go index 40b4b09f4..f4799a74d 100644 --- a/pinning/remote/client/client.go +++ b/pinning/remote/client/client.go @@ -3,10 +3,11 @@ package go_pinning_service_http_client import ( "context" "fmt" - "github.com/pkg/errors" "net/http" "time" + "github.com/pkg/errors" + "github.com/ipfs/go-cid" "github.com/ipfs/go-pinning-service-http-client/openapi" "github.com/multiformats/go-multiaddr" @@ -261,7 +262,6 @@ func (c *Client) lsInternal(ctx context.Context, settings *lsSettings) (pinResul // TODO: We should probably make sure there are no duplicates sent type addSettings struct { - cid string name string origins []string meta map[string]string