Skip to content

Commit 0dfc043

Browse files
committed
try removing new service discovery
Signed-off-by: Neil South <[email protected]>
1 parent 2384817 commit 0dfc043

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/InformaticsGateway/Repositories/MonaiServiceLocator.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ public Dictionary<string, ServiceStatus> GetServiceStatus()
5757
if (TypeInterface is null)
5858
{
5959
var service = _serviceProvider.GetServices<IHostedService>()?.FirstOrDefault(i => i.GetType().Name == type.Name);
60-
return service as IMonaiService;
60+
return null;
61+
//return service as IMonaiService;
6162
}
6263
return (_serviceProvider.GetService(TypeInterface) as IMonaiService);
6364

0 commit comments

Comments
 (0)