File tree Expand file tree Collapse file tree
main/java/com/google/cloud
test/java/com/google/cloud Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,12 +165,11 @@ public void initialize(HttpRequest httpRequest) throws IOException {
165165
166166 String getXGoogApiClientHeader () {
167167 return String .format (
168- "gl-java/%s %s/%s gax/%s grpc/%s " ,
168+ "gl-java/%s %s/%s gax/%s" ,
169169 getJavaVersion (),
170170 ServiceOptions .getGoogApiClientLibName (),
171171 ServiceOptions .getLibraryVersion (),
172- GaxPropertiesProvider .getGaxVersion (),
173- GaxPropertiesProvider .getGrpcVersion ());
172+ GaxPropertiesProvider .getGaxVersion ());
174173 }
175174
176175 private static String getJavaVersion () {
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public void testBaseHashCode() {
6464
6565 @ Test
6666 public void testHeader () {
67- String expectedHeaderPattern = "^gl-java/.* gapic /.* gax/.* grpc /.*$" ;
67+ String expectedHeaderPattern = "^gl-java/.* gccl /.* gax/.*$" ;
6868 assertTrue (Pattern .compile (expectedHeaderPattern )
6969 .matcher (DEFAULT_OPTIONS .getXGoogApiClientHeader ())
7070 .find ());
You can’t perform that action at this time.
0 commit comments