Skip to content

Commit c9e7867

Browse files
Regenerate v9/pkg/upcloud (0.0.65) (#513)
* chore: regenerate v9/pkg/upcloud (0.0.65) * fix(v9): correct ObjectStorage response type reference --------- Co-authored-by: paketeserrano <59340762+paketeserrano@users.noreply.github.com> Co-authored-by: Francisco Serrano <francisco.serrano@upcloud.com>
1 parent 9bf93c4 commit c9e7867

3 files changed

Lines changed: 10669 additions & 5214 deletions

File tree

v9/pkg/upcloud/object_storage.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import (
99
"github.com/google/uuid"
1010
)
1111

12-
func (c *ClientWithResponses) WaitForObjectStorageOperationalState(ctx context.Context, serviceUUID string, desiredState string) (*ObjectStorage2GetService200, error) {
12+
func (c *ClientWithResponses) WaitForObjectStorageOperationalState(ctx context.Context, serviceUUID string, desiredState string) (*GetObjectStorage200, error) {
1313
svcUUID, err := uuid.Parse(serviceUUID)
1414
if err != nil {
1515
return nil, err
1616
}
1717

18-
return retry(ctx, func(_ int, _ context.Context) (*ObjectStorage2GetService200, error) {
18+
return retry(ctx, func(_ int, _ context.Context) (*GetObjectStorage200, error) {
1919
resp, retryErr := c.GetObjectStorageWithResponse(ctx, svcUUID)
2020
if retryErr != nil {
2121
return nil, retryErr
@@ -41,7 +41,7 @@ func (c *ClientWithResponses) WaitForObjectStorageOperationalState(ctx context.C
4141
if resp.JSON200 != nil {
4242
return resp.JSON200, nil
4343
}
44-
var dest ObjectStorage2GetService200
44+
var dest GetObjectStorage200
4545
if retryErr = json.Unmarshal(resp.Body, &dest); retryErr == nil {
4646
return &dest, nil
4747
}
@@ -58,7 +58,7 @@ func (c *ClientWithResponses) WaitForObjectStorageDeletion(ctx context.Context,
5858
return err
5959
}
6060

61-
return retryUntilNil(ctx, func(_ int, _ context.Context) (*ObjectStorage2GetService200, error) {
61+
return retryUntilNil(ctx, func(_ int, _ context.Context) (*GetObjectStorage200, error) {
6262
resp, retryErr := c.GetObjectStorageWithResponse(ctx, svcUUID)
6363
if retryErr != nil {
6464
return nil, retryErr

v9/pkg/upcloud/spec_version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package upcloud
22

3-
const specVersion = "0.0.54"
3+
const specVersion = "0.0.65"

0 commit comments

Comments
 (0)