mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
tweak: update this too to avoid confusion
This commit is contained in:
parent
3b9a74c0cb
commit
3ae0081b41
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user