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

Add ssh keys management support #6

Merged
merged 1 commit into from
Mar 5, 2015
Merged

Conversation

lalloni
Copy link
Contributor

@lalloni lalloni commented Feb 27, 2015

Adds support for creating, removing, reading & renaming ssh keys on DO.


req := testServer.WaitRequest()

c.Assert(req.Form["name"], DeepEquals, []string{"A"})
Copy link
Owner

Choose a reason for hiding this comment

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

I'm thinking this will fail against master. I've recently moved away from sending form params and instead sending JSON body. The test server doesn't yet decode the JSON response, so you can't currently assert JSON content, but this will likely fail as is.

@lalloni
Copy link
Contributor Author

lalloni commented Feb 28, 2015

@pearkes I believe it should be working fine against master now.

@lalloni
Copy link
Contributor Author

lalloni commented Mar 5, 2015

Hey @pearkes, have you had the chance to check out the modified commit?

@pearkes
Copy link
Owner

pearkes commented Mar 5, 2015

@plalloni Sorry for the delay. LGTM, thanks!

pearkes added a commit that referenced this pull request Mar 5, 2015
Add ssh keys management support
@pearkes pearkes merged commit e966f00 into pearkes:master Mar 5, 2015
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