You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2021/06/01 12:58:43 UTC
[openwhisk-runtime-dotnet] branch master updated: Reformat code to
pass scancode (#53)
This is an automated email from the ASF dual-hosted git repository.
dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-dotnet.git
The following commit(s) were added to refs/heads/master by this push:
new 7ec4491 Reformat code to pass scancode (#53)
7ec4491 is described below
commit 7ec4491e79a558b38fe4089e7c715314e7f76bbc
Author: Seonghyun Oh <oh...@navercorp.com>
AuthorDate: Tue Jun 1 21:58:28 2021 +0900
Reformat code to pass scancode (#53)
---
core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Common/Run.cs | 2 +-
core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Common/Startup.cs | 2 +-
.../proxy/Apache.OpenWhisk.Runtime.Dotnet.Minimal/Program.cs | 4 ++--
core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Common/Run.cs | 2 +-
core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Common/Startup.cs | 2 +-
.../proxy/Apache.OpenWhisk.Runtime.Dotnet.Minimal/Program.cs | 4 ++--
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Common/Run.cs b/core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Common/Run.cs
index 21c94f0..98551fe 100644
--- a/core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Common/Run.cs
+++ b/core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Common/Run.cs
@@ -82,7 +82,7 @@ namespace Apache.OpenWhisk.Runtime.Common
try
{
JObject output;
-
+
if(_awaitableMethod) {
output = (JObject) await (dynamic) _method.Invoke(owObject, new object[] {valObject});
}
diff --git a/core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Common/Startup.cs b/core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Common/Startup.cs
index 8e81a54..6c0d236 100644
--- a/core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Common/Startup.cs
+++ b/core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Common/Startup.cs
@@ -31,7 +31,7 @@ namespace Apache.OpenWhisk.Runtime.Common
Console.WriteLine("XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX");
Console.Error.WriteLine("XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX");
}
-
+
public void Configure(IApplicationBuilder app)
{
PathString initPath = new PathString("/init");
diff --git a/core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Dotnet.Minimal/Program.cs b/core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Dotnet.Minimal/Program.cs
index da008e3..6d3c1d0 100644
--- a/core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Dotnet.Minimal/Program.cs
+++ b/core/dotnet2.2/proxy/Apache.OpenWhisk.Runtime.Dotnet.Minimal/Program.cs
@@ -29,7 +29,7 @@ namespace Apache.OpenWhisk.Runtime.Dotnet.Minimal
{
CreateWebHostBuilder(args).Build().Run();
}
-
+
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseKestrel(options =>
@@ -40,7 +40,7 @@ namespace Apache.OpenWhisk.Runtime.Dotnet.Minimal
{
logging.ClearProviders();
})
- .SuppressStatusMessages(true)
+ .SuppressStatusMessages(true)
.UseStartup<Startup>();
}
diff --git a/core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Common/Run.cs b/core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Common/Run.cs
index 21c94f0..98551fe 100644
--- a/core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Common/Run.cs
+++ b/core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Common/Run.cs
@@ -82,7 +82,7 @@ namespace Apache.OpenWhisk.Runtime.Common
try
{
JObject output;
-
+
if(_awaitableMethod) {
output = (JObject) await (dynamic) _method.Invoke(owObject, new object[] {valObject});
}
diff --git a/core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Common/Startup.cs b/core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Common/Startup.cs
index 58e87f8..9851e54 100644
--- a/core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Common/Startup.cs
+++ b/core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Common/Startup.cs
@@ -28,7 +28,7 @@ namespace Apache.OpenWhisk.Runtime.Common
Console.WriteLine("XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX");
Console.Error.WriteLine("XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX");
}
-
+
public void Configure(IApplicationBuilder app)
{
PathString initPath = new PathString("/init");
diff --git a/core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Dotnet.Minimal/Program.cs b/core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Dotnet.Minimal/Program.cs
index da008e3..6d3c1d0 100644
--- a/core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Dotnet.Minimal/Program.cs
+++ b/core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Dotnet.Minimal/Program.cs
@@ -29,7 +29,7 @@ namespace Apache.OpenWhisk.Runtime.Dotnet.Minimal
{
CreateWebHostBuilder(args).Build().Run();
}
-
+
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseKestrel(options =>
@@ -40,7 +40,7 @@ namespace Apache.OpenWhisk.Runtime.Dotnet.Minimal
{
logging.ClearProviders();
})
- .SuppressStatusMessages(true)
+ .SuppressStatusMessages(true)
.UseStartup<Startup>();
}