mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 18:48:08 +00:00 
			
		
		
		
	Remove spurious fmt.Printf calls including one of a key (#15344)
And add a semgrep for fmt.Printf/Println.
This commit is contained in:
		 Christopher Swenson
					Christopher Swenson
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							cbdf16c5a1
						
					
				
				
					commit
					38b0fa6b53
				
			| @@ -320,7 +320,6 @@ func testParseEntropy(t *testing.T, oss bool) { | ||||
| 		case err != test.outErr: | ||||
| 			t.Fatalf("error mismatch: expected %#v got %#v", err, test.outErr) | ||||
| 		case err == nil && config.Entropy != nil && *config.Entropy != test.outEntropy: | ||||
| 			fmt.Printf("\n config.Entropy: %#v", config.Entropy) | ||||
| 			t.Fatalf("entropy config mismatch: expected %#v got %#v", test.outEntropy, *config.Entropy) | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user