Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed May 3, 2024
1 parent f1caf15 commit 8088eca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion source/credentials_provider_ecs.c
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,10 @@ struct aws_credentials_provider *aws_credentials_provider_new_ecs_from_environme

} else {
/* Neither environment variable is set */
AWS_LOGF_INFO(AWS_LS_AUTH_CREDENTIALS_PROVIDER, "ECS provider full_uri and relative_uri are both not set");
AWS_LOGF_INFO(
AWS_LS_AUTH_CREDENTIALS_PROVIDER,
"ECS provider: Unable to initialize from environment because AWS_CONTAINER_CREDENTIALS_FULL_URI and "
"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI are not set.");
aws_raise_error(AWS_AUTH_CREDENTIALS_PROVIDER_INVALID_ENVIRONMENT);
goto cleanup;
}
Expand Down
3 changes: 0 additions & 3 deletions tests/credentials_provider_sts_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ struct aws_mock_sts_tester {
struct aws_client_bootstrap *bootstrap;

struct aws_tls_ctx *tls_ctx;

aws_http_connection_manager_shutdown_complete_fn *shutdown_complete_callback;
void *shutdown_complete_user_data;
};

static struct aws_mock_sts_tester s_tester;
Expand Down

0 comments on commit 8088eca

Please sign in to comment.