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

Resolve #66: Add reactive hooks for storage #67

Merged
merged 2 commits into from
Dec 4, 2015

Conversation

johnsca
Copy link
Contributor

@johnsca johnsca commented Dec 4, 2015

No description provided.

if target.exists():
continue
target.parent.makedirs_p()
target.write_text(self.STORAGE_BINDING.format(name))
Copy link
Contributor

Choose a reason for hiding this comment

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

Storage does not follow {storage-name}-relation-{hook} but rather {storage-name}-attached and {storage-name}-detaching} ref. I don't see how that would be created form this.

@mbruzek
Copy link
Contributor

mbruzek commented Dec 4, 2015

This code could benefit from class and method comments in this code as I don't fully understand the what "tactics" are.

I saw that you created some test data files but no tests for the new storage stuff. Are those to come later?

@marcoceppi marcoceppi added this to the 1.9.4 milestone Dec 4, 2015
@marcoceppi
Copy link
Contributor

marcoceppi added a commit that referenced this pull request Dec 4, 2015
Resolve #66: Add reactive hooks for storage
@marcoceppi marcoceppi merged commit 18c17b6 into juju:master Dec 4, 2015
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.

3 participants