This commit is contained in:
parent
2441ba1958
commit
750015b3ff
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -127,7 +127,7 @@ func lifecycle(notification *GiteaNotification, dispatch *nomad.JobDispatchRespo
|
||||||
// get job's deployment
|
// get job's deployment
|
||||||
jobs := NomadClient.Jobs()
|
jobs := NomadClient.Jobs()
|
||||||
queryOpt := nomad.QueryOptions{
|
queryOpt := nomad.QueryOptions{
|
||||||
AllowStale: true,
|
AllowStale: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
safeguard := 1000
|
safeguard := 1000
|
||||||
|
|
Loading…
Reference in a new issue