Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug Fix] Directory Service - change settings init to deep copy #8434

Merged
merged 2 commits into from
Dec 25, 2024

Conversation

zkarpinski
Copy link
Contributor

The Settings list of dictionaries is a shadow copy, resulting in unexpected results when there are 2+ directories with changed settings.

A deep copy resolves this issue.

@bblommers
Copy link
Collaborator

Can you merge in the latest master @zkarpinski? That should fix the build - happy to merge afterwards

Copy link

codecov bot commented Dec 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.60%. Comparing base (4bfdfaf) to head (497f307).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8434   +/-   ##
=======================================
  Coverage   94.60%   94.60%           
=======================================
  Files        1168     1168           
  Lines      101701   101702    +1     
=======================================
+ Hits        96214    96215    +1     
  Misses       5487     5487           
Flag Coverage Δ
servertests 28.82% <100.00%> (+<0.01%) ⬆️
unittests 94.57% <100.00%> (+<0.01%) ⬆️

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.

Great, thank you!

@bblommers bblommers added this to the 5.0.25 milestone Dec 25, 2024
@bblommers bblommers merged commit 9a62985 into getmoto:master Dec 25, 2024
53 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants