Skip to content

Commit fe70d4f

Browse files
committed
proof: update stale universe proof courier comment
1 parent a7d6ebd commit fe70d4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proof/courier.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,9 +1316,9 @@ func (c *UniverseRpcCourier) ensureConnect(ctx context.Context) error {
13161316
c.mboxClient = mboxrpc.NewMailboxClient(conn)
13171317
c.rawConn = conn
13181318

1319-
// Make sure we initiate the connection. The GetInfo RPC method is in
1320-
// the base macaroon white list, so it doesn't require any
1321-
// authentication, independent of the universe's configuration.
1319+
// Ensure the connection is established by calling the `Info` RPC
1320+
// endpoint. This endpoint does not require authentication when the
1321+
// universe server is configured to act as a proof courier.
13221322
_, err = c.client.Info(ctx, &unirpc.InfoRequest{})
13231323
if err != nil {
13241324
// If we fail to connect, we'll close the connection and return

0 commit comments

Comments
 (0)