Change order of print/nil check in integration test

This commit is contained in:
Kristoffer Dalby 2021-10-29 16:49:44 +00:00
parent a23d82e33a
commit 6d10be8fff

View File

@ -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(