Remove unused variable err in runDaemon function

This commit is contained in:
2025-11-02 16:32:08 +05:00
parent e6f2d9108f
commit 6b11626376

View File

@@ -21,8 +21,6 @@ func CmdStart() *cli.Command {
} }
func runDaemon(ctx context.Context, _ *cli.Command) error { func runDaemon(ctx context.Context, _ *cli.Command) error {
var err error
logOptions, err := setting.Config.Log.ToLoggerOptions() logOptions, err := setting.Config.Log.ToLoggerOptions()
if err != nil { if err != nil {
return err return err