Skip to content

Commit 546f3c3

Browse files
committed
remove unused function
1 parent c248605 commit 546f3c3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

internal/transport/http_util.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,6 @@ func contentType(contentSubtype string) string {
222222
return baseContentType + "+" + contentSubtype
223223
}
224224

225-
func (d *decodeState) status() *status.Status {
226-
if d.data.statusGen == nil {
227-
// No status-details were provided; generate status using code/msg.
228-
d.data.statusGen = status.New(codes.Code(int32(*(d.data.rawStatusCode))), d.data.rawStatusMsg)
229-
}
230-
return d.data.statusGen
231-
}
232-
233225
const binHdrSuffix = "-bin"
234226

235227
func encodeBinHeader(v []byte) string {

0 commit comments

Comments
 (0)