Skip to content

Commit

Permalink
fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyufan2 committed Apr 25, 2024
1 parent d9294db commit a5479e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cns/restserver/v2/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ func TestStartServerWithCNSURL(t *testing.T) {
logger.InitLogger("testlogs", 0, 0, "./")

// Create the service with -c "localhost:8000"
url := "tcp://localhost:8500"
if err = startService("", url); err != nil {
t.Errorf("Failed to connect to CNS Service by this url:%s. Error: %v", url, err)
cnsURL := "tcp://localhost:8500"
if err = startService("", cnsURL); err != nil {
t.Errorf("Failed to connect to CNS Service by this cns url:%s. Error: %v", cnsURL, err)
os.Exit(1)
}
}
Expand Down

0 comments on commit a5479e2

Please sign in to comment.