Skip to content

[cinder]: add reset and force delete actions to volumes and snapshots#2696

Merged
mandre merged 1 commit intogophercloud:masterfrom
kayrus:volume-actions
Jul 19, 2023
Merged

[cinder]: add reset and force delete actions to volumes and snapshots#2696
mandre merged 1 commit intogophercloud:masterfrom
kayrus:volume-actions

Conversation

@kayrus
Copy link
Copy Markdown
Contributor

@kayrus kayrus commented Jul 17, 2023

Resolves #2695

@coveralls
Copy link
Copy Markdown

coveralls commented Jul 17, 2023

Coverage Status

coverage: 79.099% (+0.003%) from 79.096% when pulling 223eac3 on kayrus:volume-actions into 3df246e on gophercloud:master.

@kayrus kayrus force-pushed the volume-actions branch 6 times, most recently from d020ef1 to c66f195 Compare July 17, 2023 21:19
@kayrus kayrus added the semver:minor Backwards-compatible change label Jul 17, 2023
Copy link
Copy Markdown
Contributor

@mandre mandre left a comment

Choose a reason for hiding this comment

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

Apart from the snapshot bits sneaking into the volume action this is good.

// ResetStatusOptsBuilder allows extensions to add additional parameters to the
// ResetStatus request.
type ResetStatusOptsBuilder interface {
ToSnapshotResetStatusMap() (map[string]interface{}, error)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should be ToResetStatusMap().

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Nice catch. Fixed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There are a few references to snapshots in this file, most probably due to copy & paste.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@github-actions github-actions bot removed the semver:minor Backwards-compatible change label Jul 19, 2023
@kayrus kayrus added the semver:minor Backwards-compatible change label Jul 19, 2023
@kayrus kayrus requested a review from mandre July 19, 2023 08:58
@mandre mandre merged commit 18eebcb into gophercloud:master Jul 19, 2023
@kayrus kayrus deleted the volume-actions branch July 19, 2023 11:26
@mandre mandre added the backport-v1 This PR will be backported to v1 label Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-v1 This PR will be backported to v1 semver:minor Backwards-compatible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[cinder]: implement reset status action to volumes and snapshots

3 participants