mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +00:00 
			
		
		
		
	Fix bug with vault cli when reading an individual field containing a Printf formatting verb (#4005)
This commit is contained in:
		 Max Walther
					Max Walther
				
			
				
					committed by
					
						 Jeff Mitchell
						Jeff Mitchell
					
				
			
			
				
	
			
			
			 Jeff Mitchell
						Jeff Mitchell
					
				
			
						parent
						
							7a46918f8c
						
					
				
				
					commit
					1c9f1736fb
				
			| @@ -128,7 +128,7 @@ func PrintRaw(ui cli.Ui, str string) int { | ||||
| 		// The cli.Ui prints a CR, which is not wanted since the user probably wants | ||||
| 		// just the raw value. | ||||
| 		w := getWriterFromUI(ui) | ||||
| 		fmt.Fprintf(w, str) | ||||
| 		fmt.Fprint(w, str) | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user