[ Executor ] modify base function part - 1

This commit is contained in:
zeaslity
2023-06-26 14:52:53 +08:00
parent 97187363cc
commit 193c1118f2
2 changed files with 9 additions and 8 deletions

View File

@@ -67,7 +67,7 @@ func (op *AgentOsOperator) Exec(baseFuncName string, funcArgs ...string) []strin
multiLineCommand = op.installHelm()
break
case "installHarbor":
multiLineCommand = op.installHarbor(funcArgs)
multiLineCommand = op.installHarbor()
break
case "chronyToPublicNTP":
multiLineCommand = op.chronyToPublicNTP()
@@ -448,7 +448,7 @@ func (op *AgentOsOperator) modifyDockerConfig(args []string) [][]string {
return modifyDockerConfigFunc
}
func (op *AgentOsOperator) installHarbor(args []string) [][]string {
func (op *AgentOsOperator) installHarbor() [][]string {
installHarborFunc := [][]string{
//{

View File

@@ -34,6 +34,7 @@ type OctopusMessage struct {
Type string `json:"type"`
Content interface{} `json:"content"`
Result interface{} `json:"result"`
ResultCode string `json:"resultCode"`
ACTime string `json:"ac_time" format:"2023-03-21 16:38:30"`
}