interop-testing: Observe --use_tls to disable TLS with OkHttp

This commit is contained in:
Eric Anderson 2016-12-09 10:28:54 -08:00
parent fd33a72174
commit 0573c25c60
1 changed files with 2 additions and 0 deletions

View File

@ -338,6 +338,8 @@ public class TestServiceClient {
} catch (Exception e) {
throw new RuntimeException(e);
}
} else {
builder.usePlaintext(true);
}
return builder.build();
}