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

Commit

Permalink
Fix metalint issue for uncommented exported method IsDefault on DropP…
Browse files Browse the repository at this point in the history
…olicy
  • Loading branch information
Rob Skillington committed Jun 27, 2018
1 parent 10adbcd commit 4fd26f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions policy/drop_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ var validDropPolicies = []DropPolicy{
DropExceptIfOtherMatch,
}

// IsDefault returns whether the drop policy is the default drop none policy.
func (p DropPolicy) IsDefault() bool {
return p == DropNone
}
Expand Down

0 comments on commit 4fd26f2

Please sign in to comment.