Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: remove unused helper
  • Loading branch information
chingor13 committed Aug 28, 2019
commit ae89bc066b2aeced27d4c5e4000811a2cf5aa74d
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,6 @@ public static EndSpanOptions getEndSpanOptions(@Nullable Integer statusCode) {
return builder.build();
}

static EndSpanOptions getEndSpanOptionsForResponse(@Nullable HttpResponse response) {
if (response != null) {
return getEndSpanOptions(response.getStatusCode());
}
return getEndSpanOptions(null);
}

/**
* Records a new message event which contains the size of the request content. Note that the size
* represents the message size in application layer, i.e., content-length.
Expand Down