mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +00: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:
		
							
								
								
									
										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" | 	"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. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Nathan Handler
					Nathan Handler