Fix Indentation in Kubernetes Auth Example (#20216)
In the Kubernetes Auth Code Example, the indentation for the `auth` import is off, causing it to not be indented the same amount as the previous `vault` import. This change ensures that both imports use the same indentation.
This commit is contained in:
parent
7de8a3bc31
commit
ad1c669d4b
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:bug
|
||||||
|
website/docs: Fix Kubernetes Auth Code Example to use the correct whitespace in import.
|
||||||
|
```
|
|
@ -339,7 +339,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
vault "github.com/hashicorp/vault/api"
|
vault "github.com/hashicorp/vault/api"
|
||||||
auth "github.com/hashicorp/vault/api/auth/kubernetes"
|
auth "github.com/hashicorp/vault/api/auth/kubernetes"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Fetches a key-value secret (kv-v2) after authenticating to Vault with a Kubernetes service account.
|
// Fetches a key-value secret (kv-v2) after authenticating to Vault with a Kubernetes service account.
|
||||||
|
|
Loading…
Reference in New Issue