Skip to content

Commit

Permalink
remove explicit default
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Oct 30, 2023
1 parent 3cf2735 commit 26daccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/licensing/server/license_fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const getLicenseFetcher = ({
return async () => {
const client = isPromise(clusterClient) ? await clusterClient : clusterClient;
try {
const response = await client.asInternalUser.xpack.info(undefined, { maxRetries: 3 });
const response = await client.asInternalUser.xpack.info();
const normalizedLicense =
response.license && response.license.type !== 'missing'
? normalizeServerLicense(response.license)
Expand Down

0 comments on commit 26daccb

Please sign in to comment.