mirror of https://github.com/grafana/grafana.git
Persist empty description
This commit is contained in:
parent
0b716c10ea
commit
44fa2a26d2
|
@ -2677,11 +2677,6 @@
|
|||
"count": 2
|
||||
}
|
||||
},
|
||||
"public/app/features/datasources/components/picker/DataSourceCard.tsx": {
|
||||
"no-restricted-syntax": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"public/app/features/datasources/state/actions.test.ts": {
|
||||
"@typescript-eslint/no-explicit-any": {
|
||||
"count": 2
|
||||
|
|
|
@ -370,6 +370,8 @@ func (ss *SqlStore) UpdateDataSource(ctx context.Context, cmd *datasources.Updat
|
|||
sess.MustCols("password")
|
||||
sess.MustCols("basic_auth_password")
|
||||
sess.MustCols("user")
|
||||
// Ensure comment is persisted even when clearing to empty string
|
||||
sess.MustCols("comment")
|
||||
// Make sure secure json data is zeroed out if empty. We do this as we want to migrate secrets from
|
||||
// secure json data to the unified secrets table.
|
||||
sess.MustCols("secure_json_data")
|
||||
|
|
Loading…
Reference in New Issue