minor corrections to documentation and comments
This commit is contained in:
parent
4c21757dae
commit
80f11cf78b
3 changed files with 4 additions and 9 deletions
|
@ -14,14 +14,9 @@ until step 4 (Start the local cluster).
|
||||||
Alternatively, if Vagrant and VirtualBox are already configured your machine,
|
Alternatively, if Vagrant and VirtualBox are already configured your machine,
|
||||||
you may use a pre-configured vagrant image and skip to the [Creating Aurora Jobs](#creating-aurora-jobs).
|
you may use a pre-configured vagrant image and skip to the [Creating Aurora Jobs](#creating-aurora-jobs).
|
||||||
|
|
||||||
To take this path, start by cloning the following repository:
|
To take this path, start by cloning the following repository and checking out the DockerComposeExecutor branch:
|
||||||
```
|
```
|
||||||
$ git clone git@github.com:rdelval/aurora.git
|
$ git clone -b DockerComposeExecutor git@github.com:rdelval/aurora.git
|
||||||
```
|
|
||||||
|
|
||||||
Checking out the DockerComposeExecutor branch:
|
|
||||||
```
|
|
||||||
$ git checkout DockerComposeExecutor
|
|
||||||
```
|
```
|
||||||
|
|
||||||
And bringing the vagrant box
|
And bringing the vagrant box
|
||||||
|
|
2
job.go
2
job.go
|
@ -208,7 +208,7 @@ func (a *Job) AddValueConstraint(name string,
|
||||||
}
|
}
|
||||||
|
|
||||||
// From Aurora Docs:
|
// From Aurora Docs:
|
||||||
// A constraint the specifies the maximum number of active tasks on a host with
|
// A constraint that specifies the maximum number of active tasks on a host with
|
||||||
// a matching attribute that may be scheduled simultaneously.
|
// a matching attribute that may be scheduled simultaneously.
|
||||||
func (a *Job) AddLimitConstraint(name string, limit int32) *Job {
|
func (a *Job) AddLimitConstraint(name string, limit int32) *Job {
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ func (u *UpdateJob) WaitForBatchCompletion(batchWait bool) *UpdateJob {
|
||||||
return u
|
return u
|
||||||
}
|
}
|
||||||
|
|
||||||
// Max number of instance failures to tolerate before marking instance as FAILED.
|
// Max number of instance failures to tolerate before marking instance as FAILED.
|
||||||
func (u *UpdateJob) MaxPerInstanceFailures(inst int32) *UpdateJob {
|
func (u *UpdateJob) MaxPerInstanceFailures(inst int32) *UpdateJob {
|
||||||
u.req.Settings.MaxPerInstanceFailures = inst
|
u.req.Settings.MaxPerInstanceFailures = inst
|
||||||
return u
|
return u
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue