Skip to content

Commit

Permalink
handle error
Browse files Browse the repository at this point in the history
Signed-off-by: slayer321 <[email protected]>
  • Loading branch information
slayer321 committed Oct 16, 2023
1 parent 1480fa4 commit 6a3ee0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugin/storage/badger/samplingstore/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ func (s *SamplingStore) GetLatestProbabilities() (model.ServiceOperationProbabil
return err
}
unMarshalProbabilities, err = decodeProbabilitiesValue(val)
if err != nil {
return err
}
retVal = unMarshalProbabilities.Probabilities
}
return nil
Expand Down

0 comments on commit 6a3ee0d

Please sign in to comment.