AddDataSourceConfig: Remove deprecated checkHealth prop (#50296) (#50298)

(cherry picked from commit e9fac9ee03)

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2022-06-07 12:44:03 +02:00
committed by GitHub
co-authored by kay delaney
parent 2a1a75c6fd
commit e63dde02c5
@@ -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()}`,