Skip to content

Commit 42e2c1f

Browse files
authored
Fix CI checks (#1030)
* remove unused * update link
1 parent 685e81c commit 42e2c1f

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

lambda-runtime-api-client/src/tracing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn init_default_subscriber() {
4444
/// a lot of async concurrency. Since, writing to STDOUT can briefly block your tokio runtime - ref [tracing #2653](https://github.com/tokio-rs/tracing/issues/2653).
4545
/// In that case, you might prefer to use [tracing_appender::NonBlocking](https://docs.rs/tracing-appender/latest/tracing_appender/non_blocking/struct.NonBlocking.html) instead - particularly if your Lambda is fairly long-running and stays warm.
4646
/// Though, note that you are then responsible
47-
/// for ensuring gracefuls shutdown. See [`examples/graceful-shutdown`] for a complete example.
47+
/// for ensuring gracefuls shutdown. See [aws-samples/graceful-shutdown-with-aws-lambda](https://github.com/aws-samples/graceful-shutdown-with-aws-lambda) for a complete example.
4848
///
4949
/// This function uses environment variables set with [Lambda's advanced logging controls](https://aws.amazon.com/blogs/compute/introducing-advanced-logging-controls-for-aws-lambda-functions/)
5050
/// if they're configured for your function.

lambda-runtime/src/requests.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,6 @@ impl IntoRequest for NextEventRequest {
2424
}
2525
}
2626

27-
#[derive(Debug, Eq, PartialEq)]
28-
pub struct NextEventResponse<'a> {
29-
// lambda-runtime-aws-request-id
30-
pub request_id: &'a str,
31-
// lambda-runtime-deadline-ms
32-
pub deadline: u64,
33-
// lambda-runtime-invoked-function-arn
34-
pub arn: &'a str,
35-
// lambda-runtime-trace-id
36-
pub trace_id: &'a str,
37-
// the actual body,
38-
pub body: Vec<u8>,
39-
}
40-
4127
// /runtime/invocation/{AwsRequestId}/response
4228
pub(crate) struct EventCompletionRequest<'a, R, B, S, D, E>
4329
where

0 commit comments

Comments
 (0)