Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
  • Loading branch information
jszwedko committed May 17, 2023
1 parent 93ff30d commit a7e1178
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/sinks/aws_kinesis/firehose/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ async fn firehose_put_records() {
let config = ElasticsearchConfig {
auth: Some(ElasticsearchAuth::Aws(AwsAuthentication::Default {
load_timeout_secs: Some(5),
..Default::default()
imds: ImdsAuthentication::default(),
region: None,
})),
endpoints: vec![elasticsearch_address()],
bulk: BulkConfig {
Expand Down
9 changes: 6 additions & 3 deletions src/sinks/elasticsearch/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ async fn auto_version_aws() {
let config = ElasticsearchConfig {
auth: Some(ElasticsearchAuth::Aws(AwsAuthentication::Default {
load_timeout_secs: Some(5),
..Default::default()
imds: ImdsAuthentication::default(),
region: None,
})),
endpoints: vec![aws_server()],
aws: Some(RegionOrEndpoint::with_region(String::from("localstack"))),
Expand Down Expand Up @@ -345,7 +346,8 @@ async fn insert_events_on_aws() {
ElasticsearchConfig {
auth: Some(ElasticsearchAuth::Aws(AwsAuthentication::Default {
load_timeout_secs: Some(5),
..Default::default()
imds: ImdsAuthentication::default(),
region: None,
})),
endpoints: vec![aws_server()],
aws: Some(RegionOrEndpoint::with_region(String::from("localstack"))),
Expand All @@ -367,7 +369,8 @@ async fn insert_events_on_aws_with_compression() {
ElasticsearchConfig {
auth: Some(ElasticsearchAuth::Aws(AwsAuthentication::Default {
load_timeout_secs: Some(5),
..Default::default()
imds: ImdsAuthentication::default(),
region: None,
})),
endpoints: vec![aws_server()],
aws: Some(RegionOrEndpoint::with_region(String::from("localstack"))),
Expand Down

0 comments on commit a7e1178

Please sign in to comment.