From e392aa924f1312ca1aa682c77032fec0838f1345 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Fri, 20 Dec 2024 23:04:31 +0100 Subject: [PATCH] fix serve return error, rename to crud.go --- cmd/{maincommands.go => crud.go} | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) rename cmd/{maincommands.go => crud.go} (99%) diff --git a/cmd/maincommands.go b/cmd/crud.go similarity index 99% rename from cmd/maincommands.go rename to cmd/crud.go index 8c4639a..4bc11fb 100644 --- a/cmd/maincommands.go +++ b/cmd/crud.go @@ -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) }, }