Skip to content

Commit

Permalink
rebase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samvaity committed Jul 26, 2019
1 parent 1448487 commit 5fb2c2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

package com.azure.security.keyvault.keys;

import com.azure.core.http.HttpPipelineBuilder;
import com.azure.core.implementation.http.policy.spi.HttpPolicyProviders;
import com.azure.core.implementation.util.ImplUtils;
import com.azure.core.util.configuration.Configuration;
Expand Down
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 5fb2c2e

Please sign in to comment.