Skip to content

Commit

Permalink
aligns func name with the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed Apr 3, 2024
1 parent 48a1e6f commit df35b19
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/e2e/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ func (n Node) AddressGRPC() string {
return fmt.Sprintf("127.0.0.1:%d", n.grpcProxyPort)
}

// RemoteAddressGRPC returns the GRPC endpoint address for the node in the
// cluster.
// RemoteAddressGRPC retrieves the gRPC endpoint address of a node within the cluster.
func (n Node) RemoteAddressGRPC() (string, error) {
ip, err := n.Instance.GetIP()
if err != nil {
Expand All @@ -234,8 +233,7 @@ func (n Node) RemoteAddressGRPC() (string, error) {
return fmt.Sprintf("%s:%d", ip, grpcPort), nil
}

// RemoteAddressRPC returns the GRPC endpoint address for the node in the
// cluster.
// RemoteAddressRPC retrieves the RPC endpoint address of a node within the cluster.
func (n Node) RemoteAddressRPC() (string, error) {
ip, err := n.Instance.GetIP()
if err != nil {
Expand Down

0 comments on commit df35b19

Please sign in to comment.