Skip to content

Commit 5c25409

Browse files
committed
fix typo
1 parent 022f1c1 commit 5c25409

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

internal/api/handlers/app_logs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func HandleAppLogs(
8080
Follow: follow,
8181
}
8282

83-
// Handle HEAD requests with erly return
83+
// Handle HEAD requests with early return
8484
if r.Method == http.MethodHead {
8585
render.EncodeResponse(w, http.StatusOK, nil)
8686
return

internal/api/handlers/app_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func HandlerAppStatus(
3434
cfg config.Configuration,
3535
) http.HandlerFunc {
3636
return func(w http.ResponseWriter, r *http.Request) {
37-
// Handle HEAD requests with erly return
37+
// Handle HEAD requests with early return
3838
if r.Method == http.MethodHead {
3939
render.EncodeResponse(w, http.StatusOK, nil)
4040
return

internal/api/handlers/system_resources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626

2727
func HandleSystemResources() http.HandlerFunc {
2828
return func(w http.ResponseWriter, r *http.Request) {
29-
// Handle HEAD requests with erly return
29+
// Handle HEAD requests with early return
3030
if r.Method == http.MethodHead {
3131
render.EncodeResponse(w, http.StatusOK, nil)
3232
return

internal/api/handlers/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func HandleUpdateApply(updater *update.Manager) http.HandlerFunc {
127127

128128
func HandleUpdateEvents(updater *update.Manager) http.HandlerFunc {
129129
return func(w http.ResponseWriter, r *http.Request) {
130-
// Handle HEAD requests with erly return
130+
// Handle HEAD requests with early return
131131
if r.Method == http.MethodHead {
132132
render.EncodeResponse(w, http.StatusOK, nil)
133133
return

0 commit comments

Comments
 (0)