mirror of https://github.com/docker/docs.git
Merge pull request #343 from endophage/fix_340
fixing incomplete comment as raised in #340
This commit is contained in:
commit
5f1100a3bf
|
@ -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 {
|
func CreateKey(cryptoServices signer.CryptoServiceIndex) http.Handler {
|
||||||
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||||
vars := mux.Vars(r)
|
vars := mux.Vars(r)
|
||||||
|
|
Loading…
Reference in New Issue