Skip to content

Commit 08044c2

Browse files
committed
chore: improve comment
1 parent 9171864 commit 08044c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

v2/pkg/engine/datasource/grpc_datasource/execution_plan_visitor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,8 @@ func (r *rpcPlanVisitor) LeaveField(ref int) {
412412
inRootField := r.walker.InRootField()
413413

414414
if inRootField {
415-
// When leaving a root field, this indicates that we are done with the current call.
416-
// We need to add the current call to the plan and reset the current call.
415+
// Leaving a root field means the current RPC call is complete.
416+
// Add the current call to the plan and reset the call state.
417417
r.finalizeCall()
418418
// RPC call is done, we can return.
419419
return

0 commit comments

Comments
 (0)