From 6cd9e3b34b7e2edc77c4119372491ae5677e76b5 Mon Sep 17 00:00:00 2001 From: vgonkivs Date: Fri, 10 Jan 2025 15:57:19 +0200 Subject: [PATCH] fix lint --- .github/workflows/integration-tests.yml | 2 +- share/shwap/sample.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 572deb1bb6..16883ce5ce 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -157,4 +157,4 @@ jobs: go-version: ${{ inputs.go-version }} - name: run share tests - run: make test-integration SHORT=true TAGS=share \ No newline at end of file + run: make test-integration SHORT=true TAGS=share diff --git a/share/shwap/sample.go b/share/shwap/sample.go index 17ae93e7aa..0156679be2 100644 --- a/share/shwap/sample.go +++ b/share/shwap/sample.go @@ -102,7 +102,11 @@ func (s *Sample) UnmarshalJSON(data []byte) error { if err != nil { return err } + sample, err := SampleFromProto(&ss) + if err != nil { + return err + } *s = sample return nil }