Lint fix integration tests

This commit is contained in:
Kristoffer Dalby 2021-11-14 18:35:49 +01:00
parent 85f28a3f4a
commit ba084b9987
No known key found for this signature in database
GPG key ID: 09F62DC067465735
3 changed files with 13 additions and 6 deletions

View file

@ -88,6 +88,7 @@ func (s *IntegrationCLITestSuite) SetupTest() {
if resp.StatusCode != http.StatusOK {
return fmt.Errorf("status code not OK")
}
return nil
}); err != nil {
// TODO(kradalby): If we cannot access headscale, or any other fatal error during
@ -147,7 +148,6 @@ func (s *IntegrationCLITestSuite) TestNamespaceCommand() {
namespaces := make([]*v1.Namespace, len(names))
for index, namespaceName := range names {
namespace, err := s.createNamespace(namespaceName)
assert.Nil(s.T(), err)