mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-20 16:42:50 +08:00
parent
26ae9948d5
commit
8d99449b08
@ -6,7 +6,7 @@ namespace Ocelot.Configuration
|
||||
{
|
||||
public LoadBalancerOptions(string type, string key, int expiryInMs)
|
||||
{
|
||||
Type = type ?? nameof(NoLoadBalancer);
|
||||
Type = string.IsNullOrWhiteSpace(type) ? nameof(NoLoadBalancer) : type;
|
||||
Key = key;
|
||||
ExpiryInMs = expiryInMs;
|
||||
}
|
||||
@ -14,7 +14,7 @@ namespace Ocelot.Configuration
|
||||
public string Type { get; }
|
||||
|
||||
public string Key { get; }
|
||||
|
||||
public int ExpiryInMs { get; }
|
||||
|
||||
public int ExpiryInMs { get; }
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user