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

Don't panic when altering retention policy #2852

Merged
merged 1 commit into from
Jun 9, 2015
Merged

Conversation

otoolep
Copy link
Contributor

@otoolep otoolep commented Jun 9, 2015

Fixes issue #2846

@otoolep
Copy link
Contributor Author

otoolep commented Jun 9, 2015

Apparent copy 'n' paste issue.

@otoolep
Copy link
Contributor Author

otoolep commented Jun 9, 2015

@toddboom

@@ -719,7 +719,7 @@ func (s *Store) UpdateRetentionPolicy(database, name string, rpu *RetentionPolic
}

var replicaN *uint32
if rpu.Duration != nil {
if rpu.ReplicaN != nil {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the actual fix.

@toddboom
Copy link
Contributor

toddboom commented Jun 9, 2015

+1

otoolep added a commit that referenced this pull request Jun 9, 2015
Don't panic when altering retention policy
@otoolep otoolep merged commit 6ce7c6e into master Jun 9, 2015
@otoolep otoolep deleted the panic_change_rp branch June 9, 2015 21:16
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.

None yet

2 participants