From 23f601b50839e5f8886eaf65e6140964d6c8e703 Mon Sep 17 00:00:00 2001 From: VAL Date: Tue, 8 Feb 2022 09:54:59 -0800 Subject: [PATCH] Correct return value explanation in docstring (#13931) --- api/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/client.go b/api/client.go index 4214e7ae44..9f84dd83d6 100644 --- a/api/client.go +++ b/api/client.go @@ -189,7 +189,7 @@ type TLSConfig struct { // The default Address is https://127.0.0.1:8200, but this can be overridden by // setting the `VAULT_ADDR` environment variable. // -// If an error is encountered, this will return nil. +// If an error is encountered, the Error field on the returned *Config will be populated with the specific error. func DefaultConfig() *Config { config := &Config{ Address: "https://127.0.0.1:8200",