Skip to content

Commit

Permalink
link API issue
Browse files Browse the repository at this point in the history
  • Loading branch information
teowa committed Dec 18, 2024
1 parent 2c35a67 commit 37e433d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ func (r StackHCIMarketplaceGalleryImageResource) Create() sdk.ResourceFunc {
return fmt.Errorf("performing create %s: %+v", id, err)
}

// https://github.com/Azure/azure-rest-api-specs/issues/31876
if err := resourceMarketplaceGalleryImageWaitForCreated(ctx, *client, id); err != nil {
return fmt.Errorf("waiting for %s to be created: %+v", id, err)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,9 @@ func (r StackHCINetworkInterfaceResource) Create() sdk.ResourceFunc {
return fmt.Errorf("performing create %s: %+v", id, err)
}

// https://github.com/Azure/azure-rest-api-specs/issues/31876
if err := resourceNetworkInterfaceWaitForCreated(ctx, *client, id); err != nil {
return err
return fmt.Errorf("waiting for %s to be created: %+v", id, err)
}

metadata.SetID(id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,9 @@ func (r StackHCIVirtualHardDiskResource) Create() sdk.ResourceFunc {
return fmt.Errorf("performing create %s: %+v", id, err)
}

// https://github.com/Azure/azure-rest-api-specs/issues/31876
if err := resourceVirtualHardDiskWaitForCreated(ctx, *client, id); err != nil {
return err
return fmt.Errorf("waiting for %s to be created: %+v", id, err)
}

metadata.SetID(id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,9 @@ func (r StackHCIWindowsVirtualMachineResource) Create() sdk.ResourceFunc {
return fmt.Errorf("creating %s: %+v", id, err)
}

// https://github.com/Azure/azure-rest-api-specs/issues/31876
if err := resourceVirtualMachineWaitForCreated(ctx, *client, id); err != nil {
return err
return fmt.Errorf("waiting for %s to be created: %+v", id, err)
}

metadata.SetID(id)
Expand Down

0 comments on commit 37e433d

Please sign in to comment.