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

Commit

Permalink
Add an init policy version
Browse files Browse the repository at this point in the history
  • Loading branch information
xichen2020 committed Dec 31, 2016
1 parent 413ebb9 commit c40f2be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion policy/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ import (
"github.com/m3db/m3x/time"
)

// DefaultPolicyVersion is the version for the default policy
const (
// InitPolicyVersion is the version of an uninitialized policy
InitPolicyVersion = -1

// DefaultPolicyVersion is the version for the default policy
DefaultPolicyVersion = 0
)

Expand Down

0 comments on commit c40f2be

Please sign in to comment.