Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

fix(key): ssh key name has to be unique now - migration included that appends a number#1098

Merged
helgi merged 1 commit into
deis:masterfrom
helgi:ticket_1023
Oct 3, 2016
Merged

fix(key): ssh key name has to be unique now - migration included that appends a number#1098
helgi merged 1 commit into
deis:masterfrom
helgi:ticket_1023

Conversation

@helgi
Copy link
Copy Markdown
Contributor

@helgi helgi commented Oct 2, 2016

This only fixes the API side of things and not SDK / CLI - Those are independent of one another as the API has always taken in a name (as id)
#1023 should be split into additional tickets to see if we want to make the UX improvements or just simply require people to modify the comment portion of a key to make it unique for Deis (IMO that's not amazing UX). Thoughts on that?

Fixes #1023

@helgi helgi added this to the v2.7 milestone Oct 2, 2016
@helgi helgi self-assigned this Oct 2, 2016
@helgi helgi force-pushed the ticket_1023 branch 2 times, most recently from aff2a68 to aab6406 Compare October 3, 2016 00:31
@codecov-io
Copy link
Copy Markdown

codecov-io commented Oct 3, 2016

Current coverage is 87.87% (diff: 100%)

Merging #1098 into master will increase coverage by 0.08%

@@             master      #1098   diff @@
==========================================
  Files            42         42          
  Lines          3604       3604          
  Methods           0          0          
  Messages          0          0          
  Branches        611        611          
==========================================
+ Hits           3164       3167     +3   
+ Misses          290        288     -2   
+ Partials        150        149     -1   

Powered by Codecov. Last update d63fe7f...d3a1ba1

@Joshua-Anderson
Copy link
Copy Markdown
Contributor

The CLI could allow a user to optionally specify a name and override the comment in the key?

@helgi
Copy link
Copy Markdown
Contributor Author

helgi commented Oct 3, 2016

@Joshua-Anderson Yeah, that would be one way to do it and possibly the least invasive.

If you look at one of my suggestions in #1023 then I proposed the appending -2 (and then keep incrementing) and propose that to the user with the ability to specify an alternative name. I liked the idea of the automation of that aspect

@helgi helgi merged commit 12b5bfd into deis:master Oct 3, 2016
@helgi helgi deleted the ticket_1023 branch October 3, 2016 18:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Internal server error when removing multiple keys of the same name

5 participants