Skip to content

Commit

Permalink
Fix CleanupRepositoryResults properties to be longs (opensearch-proje…
Browse files Browse the repository at this point in the history
…ct#587)

* Fix CleanupRepositoryResults properties to be longs

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

* changelog

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

---------

Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia authored Sep 24, 2024
1 parent c6c0c41 commit 4f8be9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Changed `rank_eval`'s `search_type` query param to use the `SearchType` enum rather than a plain string ([#586](https://github.com/opensearch-project/opensearch-api-specification/pull/586))
- Changed `cluster.reroute`'s `metric` path param to use an enum of metrics ([#586](https://github.com/opensearch-project/opensearch-api-specification/pull/586))
- Changed `indices.stats`'s `metric` path param to use an enum of metrics ([#586](https://github.com/opensearch-project/opensearch-api-specification/pull/586))
- Changed `CleanupRepositoryResults`' properties to be `int64`s ([#587](https://github.com/opensearch-project/opensearch-api-specification/pull/587))

### Deprecated

Expand Down
6 changes: 4 additions & 2 deletions spec/schemas/snapshot.cleanup_repository.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ components:
properties:
deleted_blobs:
description: Number of binary large objects (blobs) removed during cleanup.
type: number
type: integer
format: int64
deleted_bytes:
description: Number of bytes freed by cleanup operations.
type: number
type: integer
format: int64
required:
- deleted_blobs
- deleted_bytes

0 comments on commit 4f8be9e

Please sign in to comment.