Skip to content

Commit

Permalink
docs: fix restlient typos (#1301)
Browse files Browse the repository at this point in the history
  • Loading branch information
LtTempletonPeck authored Nov 28, 2023
1 parent a1c355e commit 97cc886
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public class MyConfiguration {
@Primary
@Bean
RestClient.Builder restClientBuilder() {
return WebClient.builder();
return RestClient.builder();
}
}
Expand All @@ -285,7 +285,7 @@ public class MyClass {
private RestClient.Builder loadBalanced;
public String doOtherStuff() {
return restClientBuilder.build().get().uri("http://stores/stores")
return loadBalanced.build().get().uri("http://stores/stores")
.retrieve().body(String.class);
}
Expand Down

0 comments on commit 97cc886

Please sign in to comment.