Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
samvaity committed Jul 26, 2019
1 parent 6155f04 commit 11fe9de
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import com.azure.core.credentials.TokenCredential;
import com.azure.core.http.HttpClient;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
import com.azure.core.http.policy.HttpLogDetailLevel;
import com.azure.core.test.models.RecordedData;
import com.azure.core.test.policy.RecordNetworkCallPolicy;
Expand Down Expand Up @@ -71,7 +72,7 @@ public KeyAsyncClient createAsyncClient() {
public KeyAsyncClient createAsyncClientWithPipeline() {
// BEGIN: com.azure.security.keyvault.keys.async.keyclient.pipeline.instantiation
RecordedData networkData = new RecordedData();
HttpPipeline pipeline = HttpPipeline.builder().policies(new RecordNetworkCallPolicy(networkData)).build();
HttpPipeline pipeline = new HttpPipelineBuilder().policies(new RecordNetworkCallPolicy(networkData)).build();
KeyAsyncClient keyAsyncClient = new KeyClientBuilder()
.pipeline(pipeline)
.endpoint("https://myvault.azure.net/")
Expand Down

0 comments on commit 11fe9de

Please sign in to comment.