Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typo
  • Loading branch information
lucarin91 committed Nov 21, 2025
commit 5c25409e51d124b22b51efafaac31ffa309b2053
2 changes: 1 addition & 1 deletion internal/api/handlers/app_logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func HandleAppLogs(
Follow: follow,
}

// Handle HEAD requests with erly return
// Handle HEAD requests with early return
if r.Method == http.MethodHead {
render.EncodeResponse(w, http.StatusOK, nil)
return
Expand Down
2 changes: 1 addition & 1 deletion internal/api/handlers/app_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func HandlerAppStatus(
cfg config.Configuration,
) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
// Handle HEAD requests with erly return
// Handle HEAD requests with early return
if r.Method == http.MethodHead {
render.EncodeResponse(w, http.StatusOK, nil)
return
Expand Down
2 changes: 1 addition & 1 deletion internal/api/handlers/system_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

func HandleSystemResources() http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
// Handle HEAD requests with erly return
// Handle HEAD requests with early return
if r.Method == http.MethodHead {
render.EncodeResponse(w, http.StatusOK, nil)
return
Expand Down
2 changes: 1 addition & 1 deletion internal/api/handlers/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func HandleUpdateApply(updater *update.Manager) http.HandlerFunc {

func HandleUpdateEvents(updater *update.Manager) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
// Handle HEAD requests with erly return
// Handle HEAD requests with early return
if r.Method == http.MethodHead {
render.EncodeResponse(w, http.StatusOK, nil)
return
Expand Down