Skip to content

Commit 825f4ee

Browse files
committed
replace Errorf with Error when using fixed string
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
1 parent 814558c commit 825f4ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/dataplane/server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func (d *Dataplane) dataplaneIngressAuthorize(w http.ResponseWriter, r *http.Req
109109
body, err := io.ReadAll(r.Body)
110110
if err != nil {
111111
errorString := fmt.Sprintf("Unable to read response body: %v.", err)
112-
d.logger.Errorf(errorString)
112+
d.logger.Error(errorString)
113113
http.Error(w, errorString, http.StatusInternalServerError)
114114
return
115115
}

0 commit comments

Comments
 (0)