Skip to content

Commit

Permalink
Fix Indentation in Kubernetes Auth Example (hashicorp#20216)
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 18, 2023
1 parent b930010 commit ee1bfd2
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 ee1bfd2

Please sign in to comment.