AddDataSourceConfig: Remove deprecated checkHealth prop (#50296)

This commit is contained in:
kay delaney 2022-06-07 11:32:40 +01:00 committed by GitHub
parent c96fa4c77d
commit e9fac9ee03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,10 +8,6 @@ export interface AddDataSourceConfig {
basicAuth: boolean;
basicAuthPassword: string;
basicAuthUser: string;
/**
* @deprecated check health request is no longer supported
*/
checkHealth: boolean;
expectedAlertMessage: string | RegExp;
form: () => void;
name: string;
@ -26,7 +22,6 @@ export const addDataSource = (config?: Partial<AddDataSourceConfig>) => {
basicAuth: false,
basicAuthPassword: '',
basicAuthUser: '',
checkHealth: false,
expectedAlertMessage: 'Data source is working',
form: () => {},
name: `e2e-${uuidv4()}`,