removed version check (#129101)

This commit is contained in:
Jordan 2022-03-31 20:55:28 +03:00 committed by GitHub
parent 70fa26514a
commit 15ff1f4e6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 },
})
);
};