Skip to content

Commit f2c3082

Browse files
Fix for incorrect ListOSUpdateRunResp API in apiv2 (#273)
Co-authored-by: Daniele Moro <daniele.moro@intel.com> Co-authored-by: Daniele Moro <9449199+daniele-moro@users.noreply.github.com>
1 parent e71a6d1 commit f2c3082

8 files changed

Lines changed: 1346 additions & 1346 deletions

File tree

apiv2/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.3
1+
2.1.4

apiv2/api/openapi/openapi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8122,12 +8122,12 @@ components:
81228122
ListOSUpdateRunResponse:
81238123
type: object
81248124
properties:
8125-
osUpdatePolicies:
8125+
osUpdateRuns:
81268126
type: array
81278127
items:
81288128
$ref: '#/components/schemas/OSUpdateRun'
8129-
title: os_update_policies
8130-
description: Sorted and filtered list of os update policies.
8129+
title: os_update_runs
8130+
description: Sorted and filtered list of os update runs.
81318131
totalElements:
81328132
type: integer
81338133
title: total_elements
@@ -8139,7 +8139,7 @@ components:
81398139
description: Inform if there are more elements
81408140
title: ListOSUpdateRunResponse
81418141
required:
8142-
- osUpdatePolicies
8142+
- osUpdateRuns
81438143
- totalElements
81448144
- hasNext
81458145
additionalProperties: false

apiv2/api/proto/services/v1/services.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2583,8 +2583,8 @@ message ListOSUpdateRunRequest {
25832583

25842584
// Response message for the ListOSUpdateRun method.
25852585
message ListOSUpdateRunResponse {
2586-
// Sorted and filtered list of os update policies.
2587-
repeated resources.compute.v1.OSUpdateRun os_update_policies = 1 [(google.api.field_behavior) = REQUIRED];
2586+
// Sorted and filtered list of os update runs.
2587+
repeated resources.compute.v1.OSUpdateRun os_update_runs = 1 [(google.api.field_behavior) = REQUIRED];
25882588
// Count of items in the entire list, regardless of pagination.
25892589
int32 total_elements = 2 [(google.api.field_behavior) = REQUIRED];
25902590
// Inform if there are more elements

apiv2/docs/proto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3391,7 +3391,7 @@ Response message for the ListOSUpdateRun method.
33913391

33923392
| Field | Type | Label | Description |
33933393
| ----- | ---- | ----- | ----------- |
3394-
| os_update_policies | [resources.compute.v1.OSUpdateRun](#resources-compute-v1-OSUpdateRun) | repeated | Sorted and filtered list of os update policies. |
3394+
| os_update_runs | [resources.compute.v1.OSUpdateRun](#resources-compute-v1-OSUpdateRun) | repeated | Sorted and filtered list of os update runs. |
33953395
| total_elements | [int32](#int32) | | Count of items in the entire list, regardless of pagination. |
33963396
| has_next | [bool](#bool) | | Inform if there are more elements |
33973397

apiv2/internal/pbapi/services/v1/services.pb.go

Lines changed: 1120 additions & 1120 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apiv2/internal/pbapi/services/v1/services_constants.pb.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apiv2/pkg/api/v2/edge-infrastructure-manager-openapi-server.gen.go

Lines changed: 213 additions & 213 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apiv2/pkg/api/v2/edge-infrastructure-manager-openapi-types.gen.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)