mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
remove UseBool
since we use AllCols
This commit is contained in:
parent
09cd173e92
commit
ae9327ff3a
@ -164,11 +164,6 @@ func UpdateDataSource(cmd *m.UpdateDataSourceCommand) error {
|
|||||||
Version: cmd.Version + 1,
|
Version: cmd.Version + 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
sess.UseBool("is_default")
|
|
||||||
sess.UseBool("basic_auth")
|
|
||||||
sess.UseBool("with_credentials")
|
|
||||||
sess.UseBool("read_only")
|
|
||||||
|
|
||||||
var updateSession *xorm.Session
|
var updateSession *xorm.Session
|
||||||
if cmd.Version != 0 {
|
if cmd.Version != 0 {
|
||||||
// the reason we allow cmd.version > db.version is make it possible for people to force
|
// the reason we allow cmd.version > db.version is make it possible for people to force
|
||||||
|
Loading…
Reference in New Issue
Block a user