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

(maint) Refactor in-memory cache objects #140

Merged
merged 1 commit into from
Jun 10, 2019

Conversation

glennsarti
Copy link
Contributor

Previously the in-memory cache objects duplicated the object properties of the
Sidecar protocol but this is not necessary. This commit changes the inmemory
cache object to instead inherits from the sidecar and extends it. The
from_sidecar! method is modified to dynamically copy the object instead of
hardcoded values.

@glennsarti glennsarti added this to the 0.20.0 milestone Jun 9, 2019
@glennsarti glennsarti self-assigned this Jun 9, 2019
@glennsarti glennsarti requested a review from jpogran June 9, 2019 07:54
Previously the inmemory cache objects duplicated the object properties of the
Sidecar protocol but this is not necessary.  This commit changes the inmemory
cache object to instead inherits from the sidecar and extends it.  The
from_sidecar! method is modified to dynamically copy the object instead of
hardcoded values.
Copy link
Contributor

@jpogran jpogran left a comment

Choose a reason for hiding this comment

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

this stretches the definition of a maint commmit, but i'll allow it :)

@jpogran jpogran merged commit 32144e6 into puppetlabs:master Jun 10, 2019
@glennsarti glennsarti deleted the maint-refactor-cache branch June 11, 2019 01:40
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