diff options
author | Francis Lavoie <lavofr@gmail.com> | 2022-03-13 01:38:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-13 01:38:11 -0500 |
commit | a9c7e94a38e4f4719a5c1cf7f3e11e8cf427f04e (patch) | |
tree | ef09257fc3517682dfe60d20b48d860df7b5bde6 /modules/caddypki/command.go | |
parent | 3d616e8c6d65e5617f5a918d72fb1514c9c7144e (diff) |
chore: Comment fixes (#4634)
Diffstat (limited to 'modules/caddypki/command.go')
-rw-r--r-- | modules/caddypki/command.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/caddypki/command.go b/modules/caddypki/command.go index 4744c68..9b64c61 100644 --- a/modules/caddypki/command.go +++ b/modules/caddypki/command.go @@ -49,8 +49,8 @@ By default, this command installs the root certificate for Caddy's default CA (i.e. 'local'). You may specify the ID of another CA with the --ca flag. -Also, this command will attempt to connect to the Caddy's admin API -running at '` + caddy.DefaultAdminListen + `' to fetch the root certificate. You may +This command will attempt to connect to Caddy's admin API running at +'` + caddy.DefaultAdminListen + `' to fetch the root certificate. You may explicitly specify the --address, or use the --config flag to load the admin address from your config, if not using the default.`, Flags: func() *flag.FlagSet { @@ -216,7 +216,7 @@ func rootCertFromAdmin(adminAddr string, caID string) (*x509.Certificate, error) } defer resp.Body.Close() - // Decode the resposne + // Decode the response caInfo := new(caInfo) err = json.NewDecoder(resp.Body).Decode(caInfo) if err != nil { |