-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid mutation of @DaTa from external reference
Added a ternany and .dup to the return of 'with_thing_at' to avoid return a mutable reference that allowed in memory mutation of the @DaTa struct inside MockRedis This commit done on the dime of: Simply Measured twitter: @SimplyMeasured web: http://www.simplymeasured.com Change-Id: I7ea498929a9183f83f40b6f4e6589b7aaacd397b Reviewed-on: https://gerrit.causes.com/19655 Reviewed-by: Aiden Scandella <aiden@causes.com> Tested-by: jenkins <jenkins@causes.com>
- Loading branch information
1 parent
c3803d5
commit a08edf7
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters