mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Get branch name from platform vs disk (#73534)
fa93a81ba6/src/core/server/plugins/types.ts (L280)
&27dbcb2796/src/core/server/config/types.ts (L25)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
7a3e800aaa
commit
b65ec4e07d
1 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,6 @@ import {
|
|||
HttpServiceSetup,
|
||||
} from 'kibana/server';
|
||||
import { UsageCollectionSetup } from 'src/plugins/usage_collection/server';
|
||||
import packageJSON from '../../../../package.json';
|
||||
import { LicensingPluginSetup, ILicense } from '../../licensing/server';
|
||||
import {
|
||||
EncryptedSavedObjectsPluginStart,
|
||||
|
@ -155,7 +154,7 @@ export class IngestManagerPlugin
|
|||
this.config$ = this.initializerContext.config.create<IngestManagerConfigType>();
|
||||
this.isProductionMode = this.initializerContext.env.mode.prod;
|
||||
this.kibanaVersion = this.initializerContext.env.packageInfo.version;
|
||||
this.kibanaBranch = packageJSON.branch;
|
||||
this.kibanaBranch = this.initializerContext.env.packageInfo.branch;
|
||||
this.logger = this.initializerContext.logger.get();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue