Skip to content

Commit

Permalink
Merge branch 'release/0.2.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeniy Kulikov committed Dec 17, 2019
2 parents 96e38dd + a52e263 commit a7f2026
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog
This is the changelog for NeoFS Proto

## [0.2.7] - 2019-12-17

### Fixed
- Bug with DecodeMetrics (empty metrics returns)

## [0.2.6] - 2019-12-17

### Added
Expand Down Expand Up @@ -72,3 +77,4 @@ Initial public release
[0.2.4]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.3...v0.2.4
[0.2.5]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.4...v0.2.5
[0.2.6]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.5...v0.2.6
[0.2.7]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.6...v0.2.7
1 change: 1 addition & 0 deletions state/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func DecodeMetrics(r *MetricsResponse) ([]*MetricFamily, error) {
if err := proto.Unmarshal(r.Metrics[i], mf); err != nil {
return nil, err
}
metrics = append(metrics, mf)
}

return metrics, nil
Expand Down

0 comments on commit a7f2026

Please sign in to comment.