Skip to content

Commit 6ccca11

Browse files
lint
Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
1 parent 4b5336c commit 6ccca11

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/codegen/templates/init/main.go.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ func runServer(cmd *cobra.Command, args []string) error {
312312
{{end}}
313313
eventBus.Start()
314314
defer eventBus.Close() // Defer close here, at the top level
315-
315+
316316
// Set the global instance for handlers
317317
// This replaces the call to InitializeEventBus()
318318
events.SetGlobalEventBus(eventBus)

pkg/codegen/templates/server/handlers.go.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,4 +549,4 @@ func Delete{{.Name}}(w http.ResponseWriter, r *http.Request) {
549549
Message: "{{.Name}} deleted successfully",
550550
UID: uid,
551551
})
552-
}
552+
}

0 commit comments

Comments
 (0)