mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
chore: remove repetitive words
Signed-off-by: occupyhabit <wangmengjiao@outlook.com>
This commit is contained in:
committed by
Ashutosh Narkar
parent
143a8e6ac9
commit
d6c8c1b51b
@@ -42,7 +42,7 @@ func ErrorAuto(w http.ResponseWriter, err error) {
|
||||
}
|
||||
|
||||
// ErrorString writes a response with specified status, code, and message set to
|
||||
// the the err's string representation.
|
||||
// the err's string representation.
|
||||
func ErrorString(w http.ResponseWriter, status int, code string, err error) {
|
||||
Error(w, status, types.NewErrorV1(code, err.Error()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user