Merge pull request #180 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-secgrup-initializedb-nil-pointer-2.1.0 to release/2.1.0

* commit '2c9e203bb3ee33bd8d110c3f189281da254ff3b7':
  修正:secgroup initializedb需要admin token,修改initAuth同步执行,确保admin token可用
This commit is contained in:
邱剑
2018-09-10 23:53:07 +08:00
+3 -1
View File
@@ -36,5 +36,7 @@ func InitAuth(options *Options, authComplete auth.AuthCompletedCallback) {
// debug := options.LogLevel == "debug"
auth.AsyncInit(a, false, true, authComplete)
auth.Init(a, false, true) // , authComplete)
authComplete()
}