Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
VBucket constructor now takes a third parameter - index.
The class EnyimMemcached\MemcachedTest\VBucketTest.cs initializes VBucket with only two arguments, that leads to compile time error.
The class EnyimMemcached\MemcachedTest\VBucketTest.cs initializes VBucket with only two arguments, that leads to compile time error.
- Added third parameter 'index' while initializing VBucket.
- Committed and pushed changes into forked repository.
- Send a pull request to master repository for review and merge.
Change done:
- File changed: EnyimMemcached\MemcachedTest\VBucketTest.cs
- Replaced the following:
private VBucket[] buckets = new[]
{
new VBucket(0, new[] {1, 2}),
new VBucket(1, new[] {2, 0}),
new VBucket(2, new[] {1, -1}),
new VBucket(1, new[] {2, 0})
};
with
private VBucket[] buckets = new[]
{
new VBucket(0, new[] {1, 2}, 0),
new VBucket(1, new[] {2, 0}, 1),
new VBucket(2, new[] {1, -1}, 2),
new VBucket(1, new[] {2, 0}, 3)
};