Skip to content
This repository has been archived by the owner on Oct 17, 2018. It is now read-only.

Commit

Permalink
fix policy import rename
Browse files Browse the repository at this point in the history
  • Loading branch information
prateek committed Feb 7, 2018
1 parent 7f33c61 commit 31fd325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/m3aggregator/config/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ func (c *AggregatorConfiguration) NewAggregatorOptions(
// Set default policies.
policies := make([]policy.Policy, len(c.DefaultPolicies))
copy(policies, c.DefaultPolicies)
sort.Sort(policy.ByResolutionAsc(policies))
sort.Sort(policy.ByResolutionAscRetentionDesc(policies))
opts = opts.SetDefaultPolicies(policies)

// Set counter elem pool.
Expand Down

0 comments on commit 31fd325

Please sign in to comment.