[Uptime synthetics service] Skip api key on startup (#119990) (#120009)

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
This commit is contained in:
Kibana Machine 2021-11-30 15:00:17 -05:00 committed by GitHub
parent 8d172931ec
commit d3c7fe8829
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,11 +41,12 @@ export class SyntheticsService {
}
public init(coreStart: CoreStart) {
getAPIKeyForSyntheticsService({ server: this.server }).then((apiKey) => {
if (apiKey) {
this.apiKey = apiKey;
}
});
// TODO: Figure out fake kibana requests to handle API keys on start up
// getAPIKeyForSyntheticsService({ server: this.server }).then((apiKey) => {
// if (apiKey) {
// this.apiKey = apiKey;
// }
// });
this.setupIndexTemplates(coreStart);
}