Skip to content

Commit

Permalink
Fix Indentation in Kubernetes Auth Example
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nhandler committed Apr 17, 2023
1 parent e37674d commit 830afe9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog/20216.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
website/docs: Fix Kubernetes Auth Code Example to use the correct whitespace in import.
```
2 changes: 1 addition & 1 deletion website/content/docs/auth/kubernetes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 830afe9

Please sign in to comment.