mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
fix error message
This commit is contained in:
@@ -55,7 +55,7 @@ func (p Params) GetBool(key string) (bool, error) {
|
||||
|
||||
boolValue, ok := value.(bool)
|
||||
if !ok {
|
||||
return false, errors.New("not a bool")
|
||||
return false, errors.New("not a boolean")
|
||||
}
|
||||
return boolValue, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user