@@ -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
0 commit comments