Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change port from uint16_t to uint32_t, to support VSOCK #220

Merged
merged 2 commits into from
Dec 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion include/aws/auth/credentials.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ struct aws_credentials_provider_ecs_options {
/*
* Port to query credentials from. If zero, 80/443 will be used based on whether or not tls is enabled.
*/
uint16_t port;
uint32_t port;
};

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/credentials_provider_ecs_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct aws_mock_ecs_tester {
struct aws_credentials *credentials;
bool has_received_credentials_callback;
bool has_received_shutdown_callback;
uint16_t selected_port;
uint32_t selected_port;

int error_code;
};
Expand Down