perf: 主机允许不分组

This commit is contained in:
zze326 2023-09-27 15:16:11 +08:00
parent 2d24a3ef85
commit 37b8d77e5c
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
ROOT_DIR = $(shell pwd)
NAMESPACE = "default"
DEPLOY_NAME = "devops-helper"
DOCKER_NAME = "devops-helper"
DEPLOY_NAME = "devops-super"
DOCKER_NAME = "devops-super"
include ./hack/hack.mk

View File

@ -5,7 +5,7 @@ gfcli:
docker:
build: "-a amd64 -s linux -p temp -ew"
tagPrefixes:
- zze326/
- registry-azj-registry.cn-shanghai.cr.aliyuncs.com/ops/
gen:
dao:
- link: "mysql:devops_super:devops_super.zze@tcp(192.168.2.231:3306)/devops_super?loc=Local&parseTime=true"

View File

@ -10,7 +10,7 @@ type Host struct {
UseKey bool `v:"required" json:"useKey"`
Desc string `json:"desc"`
SaveSession bool `v:"required" json:"saveSession"`
HostGroupId int `v:"required" json:"hostGroupId"`
HostGroupId int `json:"hostGroupId"`
}
type DownloadFileIn struct {