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

Implement AgentConfigAccessor interface in agent/ #3931

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

danehlim
Copy link
Contributor

@danehlim danehlim commented Sep 27, 2023

Summary

Create struct agentConfigAccessor in agent module that implements AgentConfigAccessor interface defined in ecs-agent module. The aforementioned interface was introduced in this previous pull request: #3928

For clarity, this pull request adds files to the agent module but Agent does NOT currently use them in any meaningful way. These files being "plugged into power" will be done in future pull request(s) and is out of scope of this pull request.

Implementation details

  • Add agentConfigAccessor struct to agent/config/config_accessor.go such that agentConfigAccessor struct implements the AgentConfigAccessor interface defined in ecs-agent module
  • Add tests for the above to agent/config/config_accessor_test.go

Testing

Unit, integration, and functional tests.

New tests cover the changes: yes

Description for the changelog

Implement AgentConfigAccessor interface in agent/

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@danehlim danehlim marked this pull request as ready for review September 27, 2023 21:14
@danehlim danehlim requested a review from a team as a code owner September 27, 2023 21:14
agent/config/config_accessor.go Outdated Show resolved Hide resolved
agent/config/config_accessor.go Show resolved Hide resolved
@danehlim danehlim merged commit efd3eb1 into aws:dev Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants