mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Correct return value explanation in docstring (#13931)
This commit is contained in:
@@ -189,7 +189,7 @@ type TLSConfig struct {
|
|||||||
// The default Address is https://127.0.0.1:8200, but this can be overridden by
|
// The default Address is https://127.0.0.1:8200, but this can be overridden by
|
||||||
// setting the `VAULT_ADDR` environment variable.
|
// 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 {
|
func DefaultConfig() *Config {
|
||||||
config := &Config{
|
config := &Config{
|
||||||
Address: "https://127.0.0.1:8200",
|
Address: "https://127.0.0.1:8200",
|
||||||
|
|||||||
Reference in New Issue
Block a user