Skip to content

Commit b874bca

Browse files
committed
f
1 parent f50f6bb commit b874bca

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

libV2/tasks/ManualAdjust.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class ManualAdjust extends BaseTask {
7575
if (opts.user.length) {
7676
logger.info('adjusting users');
7777
await async.eachSeries(
78-
this._program.user,
78+
opts.user,
7979
async user => this._pushAdjustmentMetric({
8080
user, objectDelta, sizeDelta, timestamp,
8181
}),

tests/functional/softLimit/testSoftLimit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('Test MonitorDiskUsage soft limit', function () {
1717
task = new MonitorDiskUsage({ warp10: warp10Clients });
1818
await task.setup();
1919
task._expirationEnabled = true;
20-
task._program.leader = true;
20+
task._program.opts = () => ({ leader: true });
2121
});
2222

2323
afterEach(async () => {

0 commit comments

Comments
 (0)