mirror of
https://codeberg.org/scip/anydb.git
synced 2025-12-16 20:10:59 +01:00
fix serve return error, rename to crud.go
This commit is contained in:
committed by
T.v.Dein
parent
a49aa5b8d0
commit
e392aa924f
@@ -322,9 +322,7 @@ func Serve(conf *cfg.Config) *cobra.Command {
|
||||
// errors at this stage do not cause the usage to be shown
|
||||
cmd.SilenceUsage = true
|
||||
|
||||
rest.Runserver(conf, nil)
|
||||
|
||||
return nil
|
||||
return rest.Runserver(conf, nil)
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user