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