From 7537cbcc1a04a75f9eb48b732b0af4d0fa54886f Mon Sep 17 00:00:00 2001 From: Kevin Franklin Kim Date: Mon, 11 Sep 2023 11:52:26 +0200 Subject: [PATCH] style: fix typo --- config/readme.go | 2 +- server.go | 2 +- service/httpreadme_test.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/readme.go b/config/readme.go index 22bbc12..bbcad9f 100644 --- a/config/readme.go +++ b/config/readme.go @@ -52,7 +52,7 @@ func Readme() string { } if len(configRows) > 0 { - md.Println("List of all registered config variabled with their defaults.") + md.Println("List of all registered config variables with their defaults.") md.Println("") md.Table([]string{"Key", "Type", "Required", "Default"}, configRows) md.Println("") diff --git a/server.go b/server.go index d6f0a97..284a7c7 100644 --- a/server.go +++ b/server.go @@ -463,7 +463,7 @@ func (s *Server) readmeHealthz() string { if len(rows) > 0 { md.Println("### Health probes") md.Println("") - md.Println("List of all registered healthz probes that are being called during startup and runntime.") + md.Println("List of all registered healthz probes that are being called during startup and runtime.") md.Println("") md.Table([]string{"Name", "Probe", "Type", "Description"}, rows) } diff --git a/service/httpreadme_test.go b/service/httpreadme_test.go index 5321971..7326c63 100644 --- a/service/httpreadme_test.go +++ b/service/httpreadme_test.go @@ -82,7 +82,7 @@ func ExampleNewHTTPReadme() { // // ### Config // - // List of all registered config variabled with their defaults. + // List of all registered config variables with their defaults. // // | Key | Type | Required | Default | // | ------------------------- | -------- | -------- | ---------- | @@ -111,7 +111,7 @@ func ExampleNewHTTPReadme() { // // ### Health probes // - // List of all registered healthz probes that are being called during startup and runntime. + // List of all registered healthz probes that are being called during startup and runtime. // // | Name | Probe | Type | Description | // | ---------------- | -------- | -------------------- | -------------------------------------- |