Fixes go vet printf verb mismatch
This commit is contained in:
parent
5f7ec2217e
commit
78d9d02329
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue