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

Gnocchi: implement archive policy Delete method #52

Merged

Conversation

ozerovandrei
Copy link
Contributor

Copy link
Contributor

@jtopjian jtopjian left a comment

Choose a reason for hiding this comment

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

@ozerovandrei All 3 of these PRs look good to me - really nice work with them.

There are two minor doc fixes. I'll merge everything once that's fixed.

@@ -17,3 +17,104 @@ func Get(c *gophercloud.ServiceClient, archivePolicyName string) (r GetResult) {
_, r.Err = c.Get(getURL(c, archivePolicyName), &r.Body, nil)
return
}

// CreateOptsBuilder allows to add additional parameters to the Create request.
Copy link
Contributor

Choose a reason for hiding this comment

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

// CreateOptsBuilder allows extensions to add additional parameters to the Create request.

ToArchivePolicyCreateMap() (map[string]interface{}, error)
}

// CreateOpts specifies parameters of a new subnetpool.
Copy link
Contributor

Choose a reason for hiding this comment

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

s/subnetpool/Archive Policy/

@ozerovandrei ozerovandrei force-pushed the gnocchi-archive-policy-delete branch from 4bd267e to f07cdb4 Compare June 9, 2018 07:21
Add support for updating Gnocchi archive policies.
Add unit test and example in documentation.
Add Update call into the archive policies acceptance test.
Add the Delete method to the archivepolicies package with tests and
documentation example.
@ozerovandrei ozerovandrei force-pushed the gnocchi-archive-policy-delete branch from f07cdb4 to e9b328d Compare June 10, 2018 18:47
@jtopjian jtopjian merged commit 18450e9 into gophercloud:master Jun 11, 2018
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.

2 participants