diff --git a/cluster/image.go b/cluster/image.go index 20fddea7cc..ca56d36335 100644 --- a/cluster/image.go +++ b/cluster/image.go @@ -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 == [] diff --git a/cluster/mesos/task/task.go b/cluster/mesos/task/task.go index 9edb25c8a6..7c28fc659e 100644 --- a/cluster/mesos/task/task.go +++ b/cluster/mesos/task/task.go @@ -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())