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

Migrate AWS logs to use the official Go Client #497

Merged
merged 9 commits into from
May 11, 2020
Merged

Migrate AWS logs to use the official Go Client #497

merged 9 commits into from
May 11, 2020

Conversation

gzussa
Copy link
Contributor

@gzussa gzussa commented Apr 30, 2020

No description provided.

@ghost ghost added the size/XL label Apr 30, 2020
Copy link
Contributor

@nmuesch nmuesch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Left a few inline comments.

User-Agent:
- Datadog/dev/terraform (go1.13.4)
- datadog-api-client-go/1.0.0-beta.1+dev.1 (go go1.13; os darwin; arch amd64)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to update the User-Agent for datadog-api-client-go to terraform-provider-datadog/{version} datadog-api-client-go/1.0.0-beta.1+dev.1 (go go1.13; os darwin; arch amd64) format.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will do that in another PR because it will be too many changes for this PR. Good catch and let's update it once we have beta.3

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we instead ignore the user agent in the cassettes ? It's really system and version dependent, so not great for replaying as people won't always be running tests on the same system

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I meant is that we are recording new cassette but the user-agent is not right.

@gzussa gzussa merged commit 90663e3 into master May 11, 2020
@gzussa gzussa deleted the gzu/aws_log branch May 11, 2020 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants