Skip to content
Snippets Groups Projects
Commit c8f7d107 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

fix stylecop issues

parent 2ddb5a6c
No related branches found
No related tags found
No related merge requests found
File changed. Contains only whitespace changes. Show whitespace changes.
......@@ -162,7 +162,6 @@ namespace Grpc.Core
{
throw new InvalidOperationException("Unknown option type");
}
}
return nativeArgs;
}
......
......
......@@ -113,7 +113,8 @@ namespace Grpc.IntegrationTesting
List<ChannelOption> channelOptions = null;
if (!string.IsNullOrEmpty(options.serverHostOverride))
{
channelOptions = new List<ChannelOption> {
channelOptions = new List<ChannelOption>
{
new ChannelOption(ChannelOptions.SslTargetNameOverride, options.serverHostOverride)
};
}
......
......
......@@ -62,7 +62,8 @@ namespace Grpc.IntegrationTesting
int port = server.AddListeningPort(host, Server.PickUnusedPort, TestCredentials.CreateTestServerCredentials());
server.Start();
var options = new List<ChannelOption> {
var options = new List<ChannelOption>
{
new ChannelOption(ChannelOptions.SslTargetNameOverride, TestCredentials.DefaultHostOverride)
};
channel = new Channel(host, port, TestCredentials.CreateTestClientCredentials(true), options);
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment