Skip to content

Commit 34c7675

Browse files
authored
chore: fix function names in comment (#7117)
Signed-off-by: loselarry <[email protected]>
1 parent 5fe2e74 commit 34c7675

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

default_dial_option_server_option_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func (s) TestJoinDialOption(t *testing.T) {
117117
}
118118
}
119119

120-
// TestJoinDialOption tests the join server option. It configures a joined
120+
// TestJoinServerOption tests the join server option. It configures a joined
121121
// server option with three individual server options, and verifies that all
122122
// three are successfully applied.
123123
func (s) TestJoinServerOption(t *testing.T) {

dialoptions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ func defaultDialOptions() dialOptions {
658658
}
659659
}
660660

661-
// withGetMinConnectDeadline specifies the function that clientconn uses to
661+
// withMinConnectDeadline specifies the function that clientconn uses to
662662
// get minConnectDeadline. This can be used to make connection attempts happen
663663
// faster/slower.
664664
//

0 commit comments

Comments
 (0)