Fixes go vet printf verb mismatch

This commit is contained in:
Daniel 2016-11-30 13:20:57 -05:00
parent 5f7ec2217e
commit 78d9d02329
No known key found for this signature in database
GPG Key ID: 08FB2BFC470E75B4
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ func Enabled(n FeatureFlag) bool {
defer fMu.RUnlock()
v, present := features[n]
if !present {
panic(fmt.Sprintf("feature '%s' doesn't exist", n))
panic(fmt.Sprintf("feature '%s' doesn't exist", n.String()))
}
return v
}