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: add missing events #365

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Conversation

jriddle-linode
Copy link
Collaborator

📝 Description

What does this PR do and why is this change necessary?

Adding missing events from https://www.linode.com/docs/api/account/#events-list

@jriddle-linode jriddle-linode requested a review from a team as a code owner August 22, 2023 18:30
ActionCommunityLike EventAction = "community_like"
ActionCreateCardUpdated EventAction = "credit_card_updated"
ActionDatabaseCreate EventAction = "database_create"
ActionDatabaseDegraded EventAction = "database_degraded"
Copy link
Contributor

Choose a reason for hiding this comment

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

While we're updating Actions, it looks like these database_method actions aren't listed in the API for Event View?

Copy link
Member

@zliang-akamai zliang-akamai Aug 23, 2023

Choose a reason for hiding this comment

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

Yes, they are missing in the doc, but they exist in this repo before this PR, lol. Let's ask the doc team to take a look.

@zliang-akamai
Copy link
Member

Can confirm the gosec scan alert is a false positive.

@jriddle-linode jriddle-linode merged commit 28949e5 into linode:main Aug 23, 2023
2 of 3 checks passed
@jriddle-linode jriddle-linode deleted the fix/events branch August 23, 2023 20:01
amisiorek-akamai added a commit that referenced this pull request Aug 28, 2023
* adding missing events (#365)

* implementation

* fixing merge conflict

* Update account_events.go

Co-authored-by: Lena Garber <[email protected]>

---------

Co-authored-by: Jacob Riddle <[email protected]>
Co-authored-by: Lena Garber <[email protected]>
lgarber-akamai added a commit that referenced this pull request Sep 1, 2023
* adding missing events (#365)

* Implement region-specific pricing

* Add test

* Revert go.work.sum

* nosec

---------

Co-authored-by: Jacob Riddle <[email protected]>
lgarber-akamai added a commit that referenced this pull request Sep 11, 2023
* adding missing events (#365)

* Implement region-specific pricing

* Add test

* Revert go.work.sum

* nosec

---------

Co-authored-by: Jacob Riddle <[email protected]>
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