From 73c46cfa662e6f897c9073750bb4ed996cf888ee Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Sun, 1 May 2022 20:40:30 -0700 Subject: [PATCH] Remove replace directive and fix firmware upgrade error --- api/firmware.go | 2 +- go.mod | 2 -- go.sum | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/firmware.go b/api/firmware.go index 6beb79b..406fac7 100644 --- a/api/firmware.go +++ b/api/firmware.go @@ -16,7 +16,7 @@ func (c *Client) FirmwareUpgrade(ctx context.Context, upgType UpgradeType, files Type: upgType, Files: files, }, - &progressCh, + progressCh, ) if err != nil { return nil, err diff --git a/go.mod b/go.mod index 8e5d7d1..e33d36a 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,6 @@ module go.arsenm.dev/itd go 1.17 -replace go.arsenm.dev/lrpc => /home/arsen/Code/lrpc - require ( fyne.io/fyne/v2 v2.1.2 github.com/cheggaaa/pb/v3 v3.0.8 diff --git a/go.sum b/go.sum index 083d407..cf13842 100644 --- a/go.sum +++ b/go.sum @@ -200,6 +200,8 @@ github.com/yuin/goldmark v1.4.1 h1:/vn0k+RBvwlxEmP5E7SZMqNxPhfMVFEJiykr15/0XKM= github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= go.arsenm.dev/infinitime v0.0.0-20220424030849-6c3f1b14c948 h1:OX1SyEIFz4ae2z468lBQvRTNRvqLEwjfJ8lcssUH5+w= go.arsenm.dev/infinitime v0.0.0-20220424030849-6c3f1b14c948/go.mod h1:1cBQ3fp6QlRbSqu9kEBAHsVThINj31FtqHIYVsQ7wgg= +go.arsenm.dev/lrpc v0.0.0-20220501221746-f1aa0f5c4f8f h1:IOajj+iaanIr8KFHKV+7WwThyHmXaB9Qf7FEVhEb8Ng= +go.arsenm.dev/lrpc v0.0.0-20220501221746-f1aa0f5c4f8f/go.mod h1:KtIqSuK4mMzHm9OIO2oRtMxSZTooPCnMgtP3Q88N7hw= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=