Skip to content

Commit 9478dc2

Browse files
authored
Merge pull request #2594 from kuzzleio/fix/public-started-backend-property
fix: started property from backend should be accessible onto plugins
2 parents da75cbc + aacee11 commit 9478dc2

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

lib/core/backend/backend.ts

+9-2
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ export class Backend {
7676
private _kuzzle: any;
7777
private _name: string;
7878
private _sdk: EmbeddedSDK;
79-
80-
protected started = false;
79+
private _started: boolean;
8180

8281
protected _pipes = {};
8382
protected _hooks = {};
@@ -431,6 +430,14 @@ export class Backend {
431430
};
432431
}
433432

433+
get started() {
434+
return this._started;
435+
}
436+
437+
protected set started(started: boolean) {
438+
this._started = started;
439+
}
440+
434441
/**
435442
* Try to read the current commit hash.
436443
*/

0 commit comments

Comments
 (0)