Browse Source

Fix: use default region if bucket not in cache. (#165)

pull/168/head
poornas 8 years ago
committed by Dee Koder
parent
commit
1f4aed148e
  1. 2
      Minio.Examples/Minio.Client.Examples.Core/Minio.Client.Examples.Core.csproj
  2. 2
      Minio/ApiEndpoints/ObjectOperations.cs

2
Minio.Examples/Minio.Client.Examples.Core/Minio.Client.Examples.Core.csproj

@ -56,7 +56,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Net.Http" Version="4.3.1" />
<PackageReference Include="System.Net.Http" Version="4.3.2" />
<PackageReference Include="System.Net.Http.WinHttpHandler" Version="4.3.0" />
<PackageReference Include="System.Reactive.Core" Version="3.1.1" />
<PackageReference Include="System.Reactive.Interfaces" Version="3.1.1" />

2
Minio/ApiEndpoints/ObjectOperations.cs

@ -1000,7 +1000,7 @@ namespace Minio
{
region = await BucketRegionCache.Instance.Update(this, policy.Bucket);
}
else
if (region == null)
{
region = BucketRegionCache.Instance.Region(policy.Bucket);
}

Loading…
Cancel
Save