mirror of https://github.com/docker/docs.git
fixing incomplete comment as raised in #340
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
This commit is contained in:
parent
dd69872bb6
commit
4261d28d46
|
@ -76,7 +76,8 @@ func KeyInfo(cryptoServices signer.CryptoServiceIndex) http.Handler {
|
|||
})
|
||||
}
|
||||
|
||||
// CreateKey returns a handler that generates a new
|
||||
// CreateKey returns a handler that generates a new key using the provided
|
||||
// algorithm. Only the public component of the key is returned.
|
||||
func CreateKey(cryptoServices signer.CryptoServiceIndex) http.Handler {
|
||||
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
vars := mux.Vars(r)
|
||||
|
|
Loading…
Reference in New Issue