Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Osipov <[email protected]>
  • Loading branch information
bellycat77 committed Aug 31, 2023
1 parent ed4b3bc commit 231c425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ func TestEndpointRegister(t *testing.T) {
domain := sandbox.NewBuilder(ctx, t).SetDNSResolver(dnsServer).Build()
require.NoError(t, sandbox.AddSRVEntry(dnsServer, "nsm-system.", "registry", domain.Registry.URL))
listenOn := &(url.URL{Scheme: "tcp", Host: "127.0.0.1:"})
os.Setenv("NSM_REGISTER_AS_URL", RegisterAsURL)
os.Setenv("NSM_REGISTRY_CLIENT_POLICIES", "")
require.Nil(t, os.Setenv("NSM_REGISTER_AS_URL", RegisterAsURL))
require.Nil(t, os.Setenv("NSM_REGISTRY_CLIENT_POLICIES", ""))
config := new(main.Config)
err := config.Process()
require.Nil(t, err)
Expand Down

0 comments on commit 231c425

Please sign in to comment.