We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When creating a new volume from a snapshot, the specified size is ignored, and the new volume takes on the size of the source snapshot instead.
Steps to reproduce:
require 'droplet_kit' client = DropletKit::Client.new(access_token: 'api_token') new_volume = DropletKit::Volume.new( size_gigabytes: 200, # Attempting to create a 200GB volume name: 'test-volume-from-snapshot', region: 'nyc1', snapshot_id: 'snapshot_id' ) created_volume = client.volumes.create(new_volume) puts "Created volume size: #{created_volume.size_gigabytes} GB"
Expected behavior: The new volume should be created with the specified size (200GB).
Actual behavior: The new volume is created with the size of the source snapshot (100 GB), ignoring the specified size_gigabytes parameter.
Environment:
This behavior makes it impossible to create a larger volume from a snapshot in a single API call.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When creating a new volume from a snapshot, the specified size is ignored, and the new volume takes on the size of the source snapshot instead.
Steps to reproduce:
Expected behavior:
The new volume should be created with the specified size (200GB).
Actual behavior:
The new volume is created with the size of the source snapshot (100 GB), ignoring the specified size_gigabytes parameter.
Environment:
This behavior makes it impossible to create a larger volume from a snapshot in a single API call.
The text was updated successfully, but these errors were encountered: