fix error

This commit is contained in:
Paolo Asperti 2021-12-09 11:41:32 +01:00
parent fd75fefc94
commit 5b4eb8b4ce
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

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