Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vgonkivs committed Jan 10, 2025
1 parent ab07761 commit 06f683d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions share/shwap/sample.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 06f683d

Please sign in to comment.