Commit Graph

12 Commits

Author SHA1 Message Date
Qu Xuan
f664cc25a9 fix(region): return sql error 2021-08-11 19:13:25 +08:00
Yousong Zhou
c2bca8ab39 Feature/yousong text (#7487)
* notify: log with context info

* region: guests: log with context info

* region: hosts: log with context info

* region: misc: remove redundant log

* region: skus: use NewInternalServerError instead of NewGeneralError

* appsrv: dispatcher: preserve text id

* appsrv: dispatcher: remove commented-out code

* cloudcommon: db_dispatcher: note errors that won't be translated

* cloudcommon: db: rbac: preserve text id

* cloudcommon: caller: preserve text id

* treewide: fix fmt string

* region: guest_actions: preserve text id

* region: guest_actions: fix fmt string

* region: usages: fix fmt string

* mcclient: hosts: remove redundant return value

* cloudcommon: fetch: preserve text id

* region: guest_template: preserve text id

* cloudcommon: db: db_dispatcher: preserve text id

* region: guest_actions: preserve text id

* httperrors: add funcs for wrap lang tag into context

* vendor: golang.org/x/text

* httperrors: error with context

* httperrors: HTTPError

* treewide: fix typo

* treewide: use en in source code

* locales: initial version
2020-08-25 15:26:31 +08:00
wanyaoqi
aea493c29a fix get remote address because of request is proxyed by k8s 2020-02-28 22:16:52 +08:00
wanyaoqi
239fd7e604 bm register find network 2019-11-15 12:06:15 +08:00
wanyaoqi
428f70ebfc baremetal register optimize 2019-11-13 19:42:42 +08:00
wanyaoqi
55fec35a6d fix baremetal online prepare! 2019-05-05 12:25:55 +08:00
wanyaoqi
40ed21b79e host register add version record, fix getBmAgentUrl 2019-04-29 12:06:58 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Qiu Jian
7e00661e8b fix: Find network by Ip in on-premise networks only 2019-02-19 20:55:07 +08:00
Qiu Jian
46aaba2474 make fmt 2018-12-12 23:24:34 +08:00
wanyaoqi
ecc750107b fix conflict 2018-12-01 16:18:11 +08:00
wanyaoqi
241bd748fc add misc handler, register baremetal handler;
change the monitor request to POST
2018-11-29 15:02:36 +08:00