mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-18 18:38:08 -05:00
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
b930010ae2
commit
ee1bfd258d
2 changed files with 4 additions and 1 deletions
3
changelog/20216.txt
Normal file
3
changelog/20216.txt
Normal file
|
|
@ -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"
|
||||
|
||||
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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue