Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fetch plan configurations when reading orders #708

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

amstuta
Copy link
Contributor

@amstuta amstuta commented Aug 21, 2024

Description

Retrieve the configurations given at order time in resource ovh_cloud_project.

Fixes #704

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (improve existing resource(s) or datasource(s))
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

  • Test A: make testacc TESTARGS="-run TestAccResourceCloudProject_basic"

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings or issues
  • I have added acceptance tests that prove my fix is effective or that my feature works
  • New and existing acceptance tests pass locally with my changes
  • I ran succesfully go mod vendor if I added or modify go.mod file

@@ -528,6 +528,14 @@ func orderDetails(c *ovh.Client, orderId int64) ([]*MeOrderDetail, error) {
return nil, fmt.Errorf("calling get %s:\n\t %q", endpoint, err)
}

detailExtension := &MeOrderDetailExtension{}
log.Printf("[DEBUG] Will read order detail extension %d/%d", orderId, detailId)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
log.Printf("[DEBUG] Will read order detail extension %d/%d", orderId, detailId)

@mxpetit mxpetit self-requested a review August 21, 2024 09:45
@amstuta amstuta merged commit 93f6445 into master Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] ovh_cloud_project has constantly the same change after apply with 0.48.0
2 participants