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

Fix for the attchmentIndex #2389

Merged
merged 1 commit into from
Mar 13, 2020
Merged

Fix for the attchmentIndex #2389

merged 1 commit into from
Mar 13, 2020

Conversation

cyastella
Copy link
Contributor

@cyastella cyastella commented Mar 10, 2020

Summary

fix the attachmentIndex since when it is int type, it can't be change to the omitempty. Thus we change it to the int pointer type.

Implementation details

change the attachmentIndex to pointer.

  • In awsvpc mode, it points to zero value,

  • in bridge/host mode, it become nil.

Testing

New tests cover the changes: yes

Description for the changelog

Licensing

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

@cyastella
Copy link
Contributor Author

cyastella commented Mar 12, 2020

the build is breaking because the aws:feature/v4_metadata branch is out of sync with aws:dev; to pass the CI tests, will need to merge in HEAD from aws:dev branch.

created #2393 to run the CI tests with the latest changes from dev

@cyastella
Copy link
Contributor Author

the build is breaking because the aws:feature/v4_metadata branch is out of sync with aws:dev; to pass the CI tests, will need to merge in HEAD from aws:dev branch.

created #2393 to run the CI tests with the latest changes from dev

#2393 passed all CI checks; will rebase aws:feature/v4_metadata to HEAD of aws:dev after this change is merged

agent/handlers/v4/response.go Outdated Show resolved Hide resolved
@cyastella cyastella merged commit 09aa71c into aws:feature/v4_metadata Mar 13, 2020
@cyastella cyastella added this to the 1.39.0 milestone Mar 31, 2020
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