Skip to content

Commit c56d604

Browse files
committed
Added NeonService.Started() and updated the service Startup classes.
1 parent c384ce2 commit c56d604

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Services/neon-acme/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
105105

106106
// Indicate that the service is ready for business.
107107

108-
NeonAcmeService.StartedAsync().GetAwaiter().GetResult();
108+
NeonAcmeService.Started();
109109
}
110110
}
111111
}

Services/neon-cluster-operator/OperatorStartup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public void Configure(IApplicationBuilder app)
106106

107107
// Indicate that the service is ready for business.
108108

109-
Service.StartedAsync().GetAwaiter().GetResult();
109+
Service.Started();
110110
}
111111
}
112112
}

Services/neon-node-agent/OperatorStartup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void Configure(IApplicationBuilder app)
9090

9191
// Indicate that the service is ready for business.
9292

93-
Service.StartedAsync().GetAwaiter().GetResult();
93+
Service.Started();
9494
}
9595
}
9696
}

Services/neon-sso-session-proxy/Startup.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
162162

163163
// Indicate that the service is ready for business.
164164

165-
Service.StartedAsync().GetAwaiter().GetResult();
165+
Service.Started();
166166
}
167167
}
168168
}
169-

0 commit comments

Comments
 (0)