diff --git a/src/CommonLibrary/Gateway/CleanMicroserviceSystem.Gateway/Extensions/CleanMicroserviceSystemGatewayExtension.cs b/src/CommonLibrary/Gateway/CleanMicroserviceSystem.Gateway/Extensions/CleanMicroserviceSystemGatewayExtension.cs index e850e121..3b4d3660 100644 --- a/src/CommonLibrary/Gateway/CleanMicroserviceSystem.Gateway/Extensions/CleanMicroserviceSystemGatewayExtension.cs +++ b/src/CommonLibrary/Gateway/CleanMicroserviceSystem.Gateway/Extensions/CleanMicroserviceSystemGatewayExtension.cs @@ -21,7 +21,8 @@ public static IServiceCollection AddGatewayServiceRegister( Interval = TimeSpan.FromSeconds(60), Timeout = TimeSpan.FromSeconds(30), DeregisterCriticalServiceAfter = TimeSpan.FromSeconds(30), - HTTP = configuration.HealthCheckUrl + HTTP = configuration.HealthCheckUrl, + Status = HealthStatus.Passing, } }; var consulClient = new ConsulClient();