fix error

This commit is contained in:
2021-12-09 11:41:32 +01:00
parent fd75fefc94
commit 5b4eb8b4ce

View File

@@ -51,7 +51,7 @@ func CreateBoard(cfg *viper.Viper, key string) (Board, error) {
createNewBoard, ok = boardCreatorFunctions[boardType]
if !ok {
return nil, errors.New("Unknown board type")
return nil, errors.New("unknown board type")
}
return *createNewBoard(cfg, key), nil