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

ref: (BREAKING) Use map for Client.GetSSHKeys(...) response #28

Merged
merged 3 commits into from
Jan 22, 2024

Conversation

lgarber-akamai
Copy link
Contributor

📝 Description

This change updates the response struct for Client.GetSSHKeys(...) to return a map[string][]string rather than the SSHKeysUserData struct. This is necessary because the MDS API can return SSH keys for arbitrary users configured using cloud-config.

✔️ How to Test

The following test steps assume you have pulled this branch down locally.

E2E Testing:

make e2e

Manual Testing:

TODO

@lgarber-akamai lgarber-akamai added enhancement issues that request a enhancement breaking change labels Jan 10, 2024
@lgarber-akamai lgarber-akamai requested a review from a team as a code owner January 10, 2024 17:48
@lgarber-akamai lgarber-akamai requested review from yec-akamai and vshanthe and removed request for a team January 10, 2024 17:48
Copy link
Contributor

@yec-akamai yec-akamai left a comment

Choose a reason for hiding this comment

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

Nice work! E2E test passed locally.

test/integration/sshkeys_test.go Outdated Show resolved Hide resolved
@lgarber-akamai lgarber-akamai merged commit 9093622 into linode:main Jan 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement issues that request a enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants