add env
This commit is contained in:
parent
6ac14b6d64
commit
7358907b3c
6 changed files with 13 additions and 13 deletions
|
|
@ -144,7 +144,7 @@ type Script struct {
|
|||
Shell string `json:"shell"`
|
||||
Code string `json:"code"`
|
||||
RunAsUser bool `json:"run_as_user"`
|
||||
Env []string `json:"env"`
|
||||
EnvVars []string `json:"env_vars"`
|
||||
}
|
||||
|
||||
type CheckInfo struct {
|
||||
|
|
@ -191,7 +191,7 @@ type TaskAction struct {
|
|||
Args []string `json:"script_args"`
|
||||
Timeout int `json:"timeout"`
|
||||
RunAsUser bool `json:"run_as_user"`
|
||||
Env []string `json:"env"`
|
||||
EnvVars []string `json:"env_vars"`
|
||||
}
|
||||
|
||||
type AutomatedTask struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue