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

Problem: OpenAPI schema for distribution delete is wrong #84

Merged
merged 1 commit into from
Apr 14, 2019

Conversation

dkliban
Copy link
Member

@dkliban dkliban commented Apr 14, 2019

Solution: rename 'delete' method on the ViewSet to 'destroy'

This patch also updates the schema for orphan delete.

fixes: #4638
https://pulp.plan.io/issues/4638

Solution: rename 'delete' method on the ViewSet to 'destroy'

This patch also updates the schema for orphan delete.

fixes: pulp#4638
https://pulp.plan.io/issues/4638
@dkliban dkliban changed the title Problem: OpenAPI schema for orphan and distribution delete is wrong Problem: OpenAPI schema for distribution delete is wrong Apr 14, 2019
Copy link
Member

@bmbouter bmbouter left a comment

Choose a reason for hiding this comment

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

This makes sense to me. Thank you @dkliban for resolving these issues!

@codecov
Copy link

codecov bot commented Apr 14, 2019

Codecov Report

Merging #84 into master will increase coverage by 0.1%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #84     +/-   ##
=========================================
+ Coverage   65.56%   65.66%   +0.1%     
=========================================
  Files          65       65             
  Lines        3014     3017      +3     
=========================================
+ Hits         1976     1981      +5     
+ Misses       1038     1036      -2
Impacted Files Coverage Δ
pulpcore/app/viewsets/publication.py 100% <ø> (+5.26%) ⬆️
pulpcore/app/views/orphans.py 100% <100%> (ø) ⬆️
pulpcore/app/viewsets/task.py 91.04% <0%> (-1.5%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b1c792...e0f5a37. Read the comment docs.

@dkliban dkliban merged commit 84b1fea into pulp:master Apr 14, 2019
@dkliban dkliban deleted the destroy-method branch April 14, 2019 22:37
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.

None yet

2 participants