tweak: update this too to avoid confusion

This commit is contained in:
KernelDeimos 2024-06-20 00:01:22 -04:00
parent 3b9a74c0cb
commit 3ae0081b41

View File

@ -33,7 +33,7 @@ const { Context } = require('../util/context');
module.exports = class FSOperationContext { module.exports = class FSOperationContext {
// TODO: rename this.fs to this.access // TODO: rename this.fs to this.access
constructor (op_name, context, options) { constructor (op_name, context, options) {
// TRACK: fs:create-service // migration: fs:create-service
// TODO: rename this.fs to this.access // TODO: rename this.fs to this.access
// NOTE: the 2nd parameter of this constructor // NOTE: the 2nd parameter of this constructor
// was called `fs` and was expected to be FSAccessContext. // was called `fs` and was expected to be FSAccessContext.
@ -75,7 +75,7 @@ module.exports = class FSOperationContext {
this.doneReject = reject; this.doneReject = reject;
}); });
// TRACK: arch:trace-service:move-outta-fs // migration: arch:trace-service:move-outta-fs
if ( this.fs.traceService ) { if ( this.fs.traceService ) {
// Set 'span_' to current active span // Set 'span_' to current active span
const { context, trace } = require('@opentelemetry/api'); const { context, trace } = require('@opentelemetry/api');