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:
Nathan Handler 2023-04-18 15:23:25 -07:00 committed by GitHub
parent 7de8a3bc31
commit ad1c669d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

3
changelog/20216.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
website/docs: Fix Kubernetes Auth Code Example to use the correct whitespace in import.
```

View File

@ -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.