mirror of
https://codeberg.org/scip/anydb.git
synced 2025-12-18 13:01:03 +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
|
// errors at this stage do not cause the usage to be shown
|
||||||
cmd.SilenceUsage = true
|
cmd.SilenceUsage = true
|
||||||
|
|
||||||
rest.Runserver(conf, nil)
|
return rest.Runserver(conf, nil)
|
||||||
|
|
||||||
return nil
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user