mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
removed version check (#129101)
This commit is contained in:
parent
70fa26514a
commit
15ff1f4e6d
1 changed files with 3 additions and 6 deletions
|
@ -14,8 +14,6 @@ import {
|
|||
import { CIS_KUBERNETES_PACKAGE_NAME } from '../../../common/constants';
|
||||
import { useKibana } from '../hooks/use_kibana';
|
||||
|
||||
export const CIS_KUBERNETES_INTEGRATION_VERSION = '0.0.1';
|
||||
|
||||
/**
|
||||
* This hook will find our cis integration and return its PackageInfo
|
||||
* */
|
||||
|
@ -23,9 +21,8 @@ export const useCisKubernetesIntegration = () => {
|
|||
const { http } = useKibana().services;
|
||||
|
||||
return useQuery<GetInfoResponse, DefaultPackagesInstallationError>(['integrations'], () =>
|
||||
http.get<GetInfoResponse>(
|
||||
epmRouteService.getInfoPath(CIS_KUBERNETES_PACKAGE_NAME, CIS_KUBERNETES_INTEGRATION_VERSION),
|
||||
{ query: { experimental: true } }
|
||||
)
|
||||
http.get<GetInfoResponse>(epmRouteService.getInfoPath(CIS_KUBERNETES_PACKAGE_NAME), {
|
||||
query: { experimental: true },
|
||||
})
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue