fix error
This commit is contained in:
parent
fd75fefc94
commit
5b4eb8b4ce
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user