mirror of https://github.com/docker/docs.git
fix 2 typos
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
bb443b30b3
commit
208ce7d414
|
@ -83,7 +83,7 @@ type ImageFilterOptions struct {
|
|||
type Images []*Image
|
||||
|
||||
// Filter returns a new sequence of Images filtered to only the images that
|
||||
// matched the filtering paramters
|
||||
// matched the filtering parameters
|
||||
func (images Images) Filter(opts ImageFilterOptions) Images {
|
||||
includeAll := func(image *Image) bool {
|
||||
// TODO: this is wrong if RepoTags == []
|
||||
|
|
|
@ -166,7 +166,7 @@ func (t *Task) Build(slaveID string, offers map[string]*mesosproto.Offer) {
|
|||
t.SlaveId = &mesosproto.SlaveID{Value: &slaveID}
|
||||
}
|
||||
|
||||
// NewTask fucntion creates a task
|
||||
// NewTask function creates a task
|
||||
func NewTask(config *cluster.ContainerConfig, name string, timeout time.Duration) (*Task, error) {
|
||||
id := stringid.TruncateID(stringid.GenerateRandomID())
|
||||
|
||||
|
|
Loading…
Reference in New Issue