Skip to content

Commit eeacdde

Browse files
Fixed up GoogleCloudStorageServiceTests trying to initialse GoogleCloudStorageClientSettings with 2.x arguments
Signed-off-by: fahadshamiinsta <fshami@netapp.com>
1 parent 324e57f commit eeacdde

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugins/repository-gcs/src/test/java/org/opensearch/repositories/gcs/GoogleCloudStorageServiceTests.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
import org.hamcrest.Matchers;
5050

5151
import java.io.IOException;
52-
import java.net.Proxy;
5352
import java.net.URI;
5453
import java.net.URISyntaxException;
5554
import java.security.KeyPair;
@@ -271,8 +270,7 @@ private GoogleCloudStorageClientSettings getGCSClientSettingsWithoutCredentials(
271270
connectTimeValue,
272271
readTimeValue,
273272
applicationName,
274-
new URI(""),
275-
new ProxySettings(Proxy.Type.DIRECT, null, 0, null, null)
273+
new URI("")
276274
);
277275
}
278276

0 commit comments

Comments
 (0)