minor corrections to documentation and comments

This commit is contained in:
Misho Krastev 2016-08-11 21:21:47 -07:00
parent 4c21757dae
commit 80f11cf78b
3 changed files with 4 additions and 9 deletions

View file

@ -14,14 +14,9 @@ until step 4 (Start the local cluster).
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).
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
```
Checking out the DockerComposeExecutor branch:
```
$ git checkout DockerComposeExecutor
$ git clone -b DockerComposeExecutor git@github.com:rdelval/aurora.git
```
And bringing the vagrant box

2
job.go
View file

@ -208,7 +208,7 @@ func (a *Job) AddValueConstraint(name string,
}
// 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.
func (a *Job) AddLimitConstraint(name string, limit int32) *Job {

View file

@ -67,7 +67,7 @@ func (u *UpdateJob) WaitForBatchCompletion(batchWait bool) *UpdateJob {
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 {
u.req.Settings.MaxPerInstanceFailures = inst
return u