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(deps): update module github.com/gophercloud/gophercloud to v2 #366

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 9, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/gophercloud/gophercloud v1.13.0 -> v2.0.0 age adoption passing confidence

Release Notes

gophercloud/gophercloud (github.com/gophercloud/gophercloud)

v2.0.0

Compare Source

MAIN BREAKING CHANGES:

  • Gophercloud now requires Go v1.22.
  • GH-2821 Gophercloud now escapes container and object names in all objects and containers functions. If you were previously escaping names (with, for example: url.PathEscape or url.QueryEscape), then you should REMOVE that and pass the intended names to Gophercloud directly.
  • GH-2821 The containers.ListOpts#Full and objects.ListOpts#Full properties are REMOVED from the Gophercloud API. The reason for that is: plaintext listing is unfixably wrong and won't handle special characters reliably (i.e. \n).
  • GH-2821 Empty container names, container names containing a slash (/), and empty object names are now rejected in Gophercloud before any call to Swift.
  • GH-2821 In objectstorage: containers.ErrInvalidContainerName is now v1.ErrInvalidContainerName.
  • GH-2821 New name validation errors in objectstorage:
    • v1.ErrEmptyContainerName
    • v1.ErrEmptyObjectName
  • GH-2821 In objects.Copy: the destination field (e.g. objects.CopyOpts#Destination) must be in the form /container/object: the function will reject a destination path if it doesn't start with a slash (/).
  • GH-2560 loadbalancer: Use CreateMemberOpts instead of BatchUpdateMemberOpts in PoolCreateOpts
  • GH-2886 ports: Fix value_specs implementation
  • GH-2665 Cinder: Remove multiatttach request parameter
  • GH-2936 Make Gophercloud context-aware: all function signatures triggering an HTTP call now accept a context.Context for tracing and cancellation
  • GH-2970 Remove context from the Provider client
  • GH-2904 Remove error code types

New features and improvements:

  • GH-2486 Fix BareMetalV1 version
  • GH-2492 Add tags for loadbalancer l7policy and l7rule
  • GH-2560 loadbalancer: Use CreateMemberOpts instead of BatchUpdateMemberOpts in PoolCreateOpts
  • GH-2561 compute: add ext_specs to flavor
  • GH-2613 Migrate baremetal inventory to a common location
  • GH-2724 baremetal: introduce Node Inventory API
  • GH-2725 baremetal: finish moving common inventory bits
  • GH-2736 Composable templates
  • GH-2781 baremetal: support ironic native PluginData
  • GH-2791 Add microversion utilities
  • GH-2806 Fix list ports with multiple fixedip parameters
  • GH-2809 Remove code for CDN (poppy)
  • GH-2812 Revert "Fix baremetal jobs on Ubuntu 20.04"
  • GH-2821 objects: Escape names in Gophercloud
  • GH-2828 Octavia: Add tags to resources missing them
  • GH-2834 baremetal: implemented ParsedLLDP in the standard PluginData
  • GH-2866 loadbalancer additional_vips by snigle
  • GH-2881 Adding missing QoS field for router
  • GH-2883 Context-aware methods to ProviderClient and ServiceClient
  • GH-2892 Authenticate with a clouds.yaml

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the kind/upgrade label Jul 9, 2024
@renovate renovate bot force-pushed the renovate/github.com-gophercloud-gophercloud-2.x branch 5 times, most recently from 1c062a2 to ba664d2 Compare July 11, 2024 13:58
@renovate renovate bot force-pushed the renovate/github.com-gophercloud-gophercloud-2.x branch from ba664d2 to 4d195e9 Compare July 11, 2024 14:07
Copy link
Contributor Author

renovate bot commented Jul 11, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Body: []byte("Auth failed"),
},
return []groups.SecGroup{}, gophercloud.ErrUnexpectedResponseCode{
// Actual: 401,
Copy link
Member

Choose a reason for hiding this comment

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

From what I could find, the gophercloud.ErrDefaultXXX structs were just a wrapper around gophercloud.ErrUnexpectedResponseCode, without actually setting anything, so Actual actually doesn't need to be set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant