mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #178 in YUNIONIO/onecloud from hotfix/rex-20180910-1523-rm-tmp-log to release/2.1.0
* commit '7f624c46b501af2526191cf31c3db7c5726f7a94': go fmt. 去掉临时调试信息; gofmt 去掉临时调试信息
This commit is contained in:
@@ -2,7 +2,6 @@ package logclient
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"yunion.io/x/jsonutils"
|
||||
"yunion.io/x/onecloud/pkg/mcclient"
|
||||
"yunion.io/x/onecloud/pkg/mcclient/auth"
|
||||
@@ -84,8 +83,7 @@ func AddActionLog(model IObject, action string, iNotes interface{}, userCred mcc
|
||||
// 成功日志
|
||||
logentry.Add(jsonutils.JSONTrue, "success")
|
||||
}
|
||||
// TODO delete tag when done.
|
||||
notes = fmt.Sprintf("[a2]%s", notes)
|
||||
|
||||
logentry.Add(jsonutils.NewString(notes), "notes")
|
||||
|
||||
_, err := modules.Actions.Create(s, logentry)
|
||||
|
||||
Reference in New Issue
Block a user