From 5354906b9c8a20b0dda1e470d8a9758e46d79973 Mon Sep 17 00:00:00 2001 From: David Cowden Date: Wed, 13 May 2020 10:56:19 -0700 Subject: [PATCH] acme/api: Add func name to beginning of comment --- acme/api/handler.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/acme/api/handler.go b/acme/api/handler.go index 7a804918..13ce6f99 100644 --- a/acme/api/handler.go +++ b/acme/api/handler.go @@ -2,13 +2,14 @@ package api import ( "fmt" + "net/http" + "github.com/go-chi/chi" "github.com/pkg/errors" "github.com/smallstep/certificates/acme" "github.com/smallstep/certificates/api" "github.com/smallstep/certificates/authority/provisioner" "github.com/smallstep/cli/jose" - "net/http" ) func link(url, typ string) string { @@ -148,7 +149,7 @@ func (h *Handler) GetAuthz(w http.ResponseWriter, r *http.Request) { api.JSON(w, authz) } -// ACME api for retrieving the Challenge resource. +// GetChallenge is the ACME api for retrieving a Challenge resource. // // Potential Challenges are requested by the client when creating an order. // Once the client knows the appropriate validation resources are provisioned,