Skip to content

Commit 7869340

Browse files
authored
bucket notifications - fix diagnose's test notifs (broken after 8951) (#9048)
Signed-off-by: Amit Prinz Setter <alphaprinz@gmail.com>
1 parent 05da04a commit 7869340

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/manage_nsfs/health.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,9 +417,11 @@ class NSFSHealth {
417417
} else {
418418
const connection_file_path = this.config_fs.get_connection_path_by_name(config_file_name);
419419
const test_notif_err = await notifications_util.test_notifications([{
420-
name: config_data.name,
420+
id: [config_data.name],
421421
topic: [config_file_name]
422-
}], this.config_fs.config_root);
422+
}], this.config_fs.config_root, {
423+
params: {bucket: 'test_notif_bucket'}
424+
});
423425
if (test_notif_err) {
424426
res = get_invalid_object(config_data.name, connection_file_path, undefined, test_notif_err.code);
425427
} else {

0 commit comments

Comments
 (0)