noobaa-core icon indicating copy to clipboard operation
noobaa-core copied to clipboard

NSFS | NC | Inconsistent Use of `config_root_backend` In `native_fs_utils.get_process_fs_context` In manage_nsfs

Open shirady opened this issue 11 months ago • 0 comments

Environment info

  • NooBaa Version: master
  • Platform: NSFS | NC

Actual behavior

  1. Currently, our code is not consistent with using the variable config_root_backend:
  • Sometimes it is used: native_fs_utils.get_process_fs_context(config_root_backend);
  • And sometimes it is not: native_fs_utils.get_process_fs_context();.

Expected behavior

  1. Use the variable config_root_backend in all usages of native_fs_utils.get_process_fs_context or clarify the reason for not using it.

Steps to reproduce

  1. none, internal.

More information - Screenshots / Logs / Other output

none

shirady avatar Mar 07 '24 09:03 shirady