aboutsummaryrefslogtreecommitdiff
path: root/cmd/convert.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/convert.go')
-rw-r--r--cmd/convert.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/convert.go b/cmd/convert.go
index 30e7d01e1..d9b89495c 100644
--- a/cmd/convert.go
+++ b/cmd/convert.go
@@ -35,7 +35,7 @@ func runConvert(ctx *cli.Context) error {
log.Info("Log path: %s", setting.Log.RootPath)
log.Info("Configuration file: %s", setting.CustomConf)
- if !setting.Database.UseMySQL {
+ if !setting.Database.Type.IsMySQL() {
fmt.Println("This command can only be used with a MySQL database")
return nil
}