You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the place for organizing the dependencies:
Move the file src/endpoint/s3/s3_bucket_policy_utils.js to src/util (it is used by the noobaa-cli in src/manage_nsfs/manage_nsfs_validations.js).
Move the content of validate_username from src/endpoint/iam/iam_utils.js (it is used by noobaa-cli in src/manage_nsfs/manage_nsfs_validations.js).
Use the function generate_id from file src/nc/nc_utils.js in places that used directly mongo_utils.mongoObjectId() (for example: src/cmd/manage_nsfs.js). I think we can copy the content and add a reference and credit instead of any use of the module src/util/mongo_utils.js in src/nc/nc_utils.js.
The text was updated successfully, but these errors were encountered:
Environment info
This is the place for organizing the dependencies:
src/endpoint/s3/s3_bucket_policy_utils.js
tosrc/util
(it is used by the noobaa-cli insrc/manage_nsfs/manage_nsfs_validations.js
).validate_username
fromsrc/endpoint/iam/iam_utils.js
(it is used by noobaa-cli insrc/manage_nsfs/manage_nsfs_validations.js
).generate_id
from filesrc/nc/nc_utils.js
in places that used directlymongo_utils.mongoObjectId()
(for example:src/cmd/manage_nsfs.js
). I think we can copy the content and add a reference and credit instead of any use of the modulesrc/util/mongo_utils.js
insrc/nc/nc_utils.js
.The text was updated successfully, but these errors were encountered: