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

Support partner interconnect GetBgpAuthKey and RegenerateServiceKey operations #785

Merged
merged 4 commits into from
Feb 18, 2025

Conversation

guptado
Copy link
Contributor

@guptado guptado commented Feb 17, 2025

No description provided.

@guptado guptado changed the title support partner interconnect GetBgpAuthKey and RegenerateServiceKey Support partner interconnect GetBgpAuthKey and RegenerateServiceKey Feb 17, 2025
@guptado guptado changed the title Support partner interconnect GetBgpAuthKey and RegenerateServiceKey Support partner interconnect GetBgpAuthKey and RegenerateServiceKey operations Feb 17, 2025
return nil, resp, err
}

return root.RegenerateServiceKey, resp, nil
Copy link
Member

Choose a reason for hiding this comment

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

Seems like root.RegenerateServiceKey will always be nil? RegenerateServiceKey is just an empty struct and regenerateServiceKeyRoot uses the stuct tag json:"-"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes. it will always be nil. To keep the consistency compare other methods hence i added the responseModel, Response and error. Let me know if you think it needs any improvement

@andrewsomething andrewsomething merged commit e712507 into digitalocean:main Feb 18, 2025
7 checks passed
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.

2 participants