format code

This commit is contained in:
fanyangyang 2020-04-26 11:44:50 +08:00
parent 61aa5efccd
commit e74e644b88
2 changed files with 4 additions and 4 deletions

View File

@ -218,11 +218,11 @@ type BuildPluginStruct struct {
// in: body
// required: false
RepoURL string `json:"repo_url" validate:"repo_url"`
// git 账户名
// git username
// in: body
// required: false
Username string `json:"username"`
// git 密码
// git password
// in: body
// required: false
Password string `json:"password"`

View File

@ -26,8 +26,8 @@ type BuildPluginTaskBody struct {
Operator string `json:"operator"`
Repo string `json:"repo"`
GitURL string `json:"git_url"`
GitUsername string `json:"git_username"`
GitPassword string `json:"git_password"`
GitUsername string `json:"git_username"`
GitPassword string `json:"git_password"`
ImageURL string `json:"image_url"`
EventID string `json:"event_id"`
DeployVersion string `json:"deploy_version"`