mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Remove unnecessary string formats
Signed-off-by: Ke Li <kel@splunk.com>
This commit is contained in:
		
							parent
							
								
									38f5d5c634
								
							
						
					
					
						commit
						23ac56fdd0
					
				
					 42 changed files with 260 additions and 250 deletions
				
			
		|  | @ -52,7 +52,7 @@ func TestReloaded(t *testing.T) { | |||
| 		"-j", "ACCEPT"} | ||||
| 
 | ||||
| 	if !Exists(fwdChain.Table, fwdChain.Name, rule1...) { | ||||
| 		t.Fatalf("rule1 does not exist") | ||||
| 		t.Fatal("rule1 does not exist") | ||||
| 	} | ||||
| 
 | ||||
| 	// flush all rules | ||||
|  | @ -62,7 +62,7 @@ func TestReloaded(t *testing.T) { | |||
| 
 | ||||
| 	// make sure the rules have been recreated | ||||
| 	if !Exists(fwdChain.Table, fwdChain.Name, rule1...) { | ||||
| 		t.Fatalf("rule1 hasn't been recreated") | ||||
| 		t.Fatal("rule1 hasn't been recreated") | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
|  | @ -79,7 +79,7 @@ func TestPassthrough(t *testing.T) { | |||
| 			t.Fatal(err) | ||||
| 		} | ||||
| 		if !Exists(Filter, "INPUT", rule1...) { | ||||
| 			t.Fatalf("rule1 does not exist") | ||||
| 			t.Fatal("rule1 does not exist") | ||||
| 		} | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ke Li
						Ke Li