handle changed postgres-plugin-id

This commit is contained in:
Gábor Farkas
2024-01-08 15:47:41 +01:00
parent dfe360bf1d
commit 541ba8cd82
2 changed files with 8 additions and 3 deletions

View File

@@ -28,7 +28,8 @@ import {
import { Divider } from './Divider';
import { css } from '@emotion/css';
const SUPPORTED_SQL_DS = ['mysql', 'postgres', 'influxdb'];
// the postgres-plugin changed it's id, so we list both the old name and the new name
const SUPPORTED_SQL_DS = ['mysql', 'grafana-postgresql-datasource', 'postgres', 'influxdb'];
const authOptions: Array<SelectableValue<ZabbixAuthType>> = [
{ label: 'User and password', value: ZabbixAuthType.UserLogin },