Skip to content

Commit 5c87f99

Browse files
committed
docs(agent-gateway): align resource admission type parameters
1 parent 226f40e commit 5c87f99

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎shenyu-plugin/shenyu-plugin-agent-gateway/src/main/java/org/apache/shenyu/plugin/agent/gateway/protocol/AgentResourceAdmission.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public AgentResourceAdmission(final AgentGatewayAdmissionConfig config) {
5858
* Acquire global and LOCAL admission around the single local provider execution.
5959
* @param deadline absolute request deadline, including queue wait
6060
* @param action execution after all permits are acquired
61-
* @param <T> response type
61+
* @param <T> response type
6262
* @return one execution result with terminal permit release
6363
*/
6464
public <T> Mono<T> withLocal(final Instant deadline, final Mono<T> action) {
@@ -70,7 +70,7 @@ public <T> Mono<T> withLocal(final Instant deadline, final Mono<T> action) {
7070
* @param server configured remote target name
7171
* @param deadline absolute request deadline, including queue wait
7272
* @param action execution after all permits are acquired
73-
* @param <T> response type
73+
* @param <T> response type
7474
* @return one execution result with terminal permit release
7575
*/
7676
public <T> Mono<T> withRemote(final String server, final Instant deadline, final Mono<T> action) {

0 commit comments

Comments
 (0)