添加参数,允许不直接登录虚拟机

This commit is contained in:
屈轩
2019-02-15 10:46:57 +08:00
parent b9b57e8441
commit c9756aa6f0
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ type DBOptions struct {
AutoSyncTable bool `help:"Automatically synchronize table changes if differences are detected"`
GlobalVirtualResourceNamespace bool `help:"Per project namespace or global namespace for virtual resources"`
DebugSqlchemy bool `default:"False" help:"Print SQL executed by sqlchemy"`
DebugSqlchemy bool `default:"false" help:"Print SQL executed by sqlchemy"`
}
func (this *DBOptions) GetDBConnection() (dialect, connstr string, err error) {