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

DynamoDB: Make it possible to disable delete protection on a table #8391

Merged

Conversation

kiwi-at-billo
Copy link
Contributor

This was previously impossible due to the conditional that required the argument deletion_protection_enabled to be truthy for any update to be applied.

Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.59%. Comparing base (361b4fc) to head (c39d729).
Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8391   +/-   ##
=======================================
  Coverage   94.59%   94.59%           
=======================================
  Files        1159     1159           
  Lines      101415   101415           
=======================================
  Hits        95932    95932           
  Misses       5483     5483           
Flag Coverage Δ
servertests 28.86% <0.00%> (ø)
unittests 94.56% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@bblommers bblommers left a comment

Choose a reason for hiding this comment

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

Nice catch @kiwi-at-billo - thank you for the fix, and welcome to Moto!

@bblommers bblommers added this to the 5.0.23 milestone Dec 12, 2024
@bblommers bblommers merged commit ad7de35 into getmoto:master Dec 12, 2024
52 of 53 checks passed
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