Skip to content

Commit 97cc886

Browse files
docs: fix restlient typos (#1301)
1 parent a1c355e commit 97cc886

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/modules/ROOT/pages/spring-cloud-commons/common-abstractions.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public class MyConfiguration {
272272
@Primary
273273
@Bean
274274
RestClient.Builder restClientBuilder() {
275-
return WebClient.builder();
275+
return RestClient.builder();
276276
}
277277
}
278278
@@ -285,7 +285,7 @@ public class MyClass {
285285
private RestClient.Builder loadBalanced;
286286
287287
public String doOtherStuff() {
288-
return restClientBuilder.build().get().uri("http://stores/stores")
288+
return loadBalanced.build().get().uri("http://stores/stores")
289289
.retrieve().body(String.class);
290290
}
291291

0 commit comments

Comments
 (0)