Skip to content

Commit

Permalink
Merge d0d1a1c into backport/main/possibly-patient-catfish
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-nomad-core committed Apr 21, 2023
2 parents bba30a4 + d0d1a1c commit e2a0280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/agent/agent_endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func TestHTTP_AgentJoin(t *testing.T) {
httpTest(t, nil, func(s *TestAgent) {
// Determine the join address
member := s.Agent.Server().LocalMember()
addr := net.JoinHostPort(string(member.Addr), strconv.Itoa(int(member.Port)))
addr := net.JoinHostPort(member.Addr.String(), strconv.Itoa(int(member.Port)))

// Make the HTTP request
req, err := http.NewRequest("PUT",
Expand Down

0 comments on commit e2a0280

Please sign in to comment.