Skip to content

Commit

Permalink
Update pkg/apiutil/apiutil.go
Browse files Browse the repository at this point in the history
Co-authored-by: disksing <[email protected]>
  • Loading branch information
CabinfeverB and disksing authored Dec 27, 2021
1 parent 175d925 commit ae434af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apiutil/apiutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func ErrorResp(rd *render.Render, w http.ResponseWriter, err error) {
}
}

// GetComponentNameOnHTTP return component name from Request Header
// GetComponentNameOnHTTP returns component name from Request Header
func GetComponentNameOnHTTP(r *http.Request) string {
componentName := r.Header.Get(ComponentSignatureKey)
if componentName == "" {
Expand Down

0 comments on commit ae434af

Please sign in to comment.