mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-11-03 17:41:03 +01:00 
			
		
		
		
	Change order of print/nil check in integration test
This commit is contained in:
		
							parent
							
								
									a23d82e33a
								
							
						
					
					
						commit
						6d10be8fff
					
				@ -282,8 +282,8 @@ func (s *IntegrationTestSuite) SetupSuite() {
 | 
				
			|||||||
			[]string{"headscale", "namespaces", "create", namespace},
 | 
								[]string{"headscale", "namespaces", "create", namespace},
 | 
				
			||||||
			[]string{},
 | 
								[]string{},
 | 
				
			||||||
		)
 | 
							)
 | 
				
			||||||
		assert.Nil(s.T(), err)
 | 
					 | 
				
			||||||
		fmt.Println("headscale create namespace result: ", result)
 | 
							fmt.Println("headscale create namespace result: ", result)
 | 
				
			||||||
 | 
							assert.Nil(s.T(), err)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		fmt.Printf("Creating pre auth key for %s\n", namespace)
 | 
							fmt.Printf("Creating pre auth key for %s\n", namespace)
 | 
				
			||||||
		authKey, err := executeCommand(
 | 
							authKey, err := executeCommand(
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user