From 4a40cc9c628e9a60a9c7b5a908a5862c73d76391 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Wed, 18 Dec 2024 07:40:31 -0600 Subject: [PATCH] Update doc comments for default connection timeout Update doc comments to remove indicator that this timeout only comes into play after confirming TCP port is open (while that may apply to certsum it does not currently apply to other tools in this project). refs GH-380 --- internal/config/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/constants.go b/internal/config/constants.go index 708ec1eb..19bbc442 100644 --- a/internal/config/constants.go +++ b/internal/config/constants.go @@ -193,7 +193,7 @@ const ( defaultCertExpireAgeCritical int = 15 // Default timeout (in seconds) used when retrieving a certificate from a - // specified TCP port previously discovered to be open. + // specified TCP port. defaultConnectTimeout int = 10 // Default choice of whether Go 1.17+ behavior of failing hostname