diff --git a/src/sdk/bucketspace_fs.js b/src/sdk/bucketspace_fs.js index 67d8a2468b..e3d3788b2b 100644 --- a/src/sdk/bucketspace_fs.js +++ b/src/sdk/bucketspace_fs.js @@ -108,7 +108,6 @@ class BucketSpaceFS extends BucketSpaceSimpleFS { if (!is_valid) { dbg.warn('BucketSpaceFS: invalid storage path for bucket : ', name); } - //TODO: Bucket owner check const nsr = { resource: { @@ -198,7 +197,7 @@ class BucketSpaceFS extends BucketSpaceSimpleFS { return current_stat.ino === bucket_stat.ino && current_stat.mtimeNsBigint === bucket_stat.mtimeNsBigint; } } catch (err) { - dbg.log4('check_same_stat: current_stat got an error', err, 'ignoring...'); + dbg.warn('check_same_stat: current_stat got an error', err, 'ignoring...'); } } diff --git a/src/sdk/config_fs.js b/src/sdk/config_fs.js index c7ecac307c..67f45a0115 100644 --- a/src/sdk/config_fs.js +++ b/src/sdk/config_fs.js @@ -891,10 +891,10 @@ class ConfigFS { * @param {string} bucket_name * @returns {Promise} */ - stat_bucket_config_file(bucket_name) { - const bucket_config_path = this.get_bucket_path_by_name(bucket_name); - return nb_native().fs.stat(this.fs_context, bucket_config_path); - } + stat_bucket_config_file(bucket_name) { + const bucket_config_path = this.get_bucket_path_by_name(bucket_name); + return nb_native().fs.stat(this.fs_context, bucket_config_path); + } /** * is_bucket_exists returns true if bucket config path exists in config dir