changelog

This commit is contained in:
Alex Dadgar
2016-05-27 17:43:20 -07:00
parent e06aefb5e3
commit d60d801cae
2 changed files with 6 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
## 0.4.0 (UNRELEASED)
__BACKWARDS INCOMPATIBILITIES:__
* api: Tasks are no longer allowed to have slashes in their name [GH-1210]
IMPROVEMENTS:
* core: Scheduler reuses blocked evaluations to avoid unbounded creation of
evaluations under high contention [GH-1199]
@@ -19,6 +22,7 @@ BUG FIXES:
[GH-1128, GH-1153]
* core: Fix blocked evaluations being run without properly accounting for
priority [GH-1183]
* api: Tasks are no longer allowed to have slashes in their name [GH-1210]
* discovery: Ensure service and check names are unique [GH-1143, GH-1144]
## 0.3.2 (April 22, 2016)

View File

@@ -1742,6 +1742,8 @@ func (t *Task) Validate() error {
mErr.Errors = append(mErr.Errors, errors.New("Missing task name"))
}
if strings.ContainsAny(t.Name, `/\`) {
// We enforce this so that when creating the directory on disk it will
// not have any slashes.
mErr.Errors = append(mErr.Errors, errors.New("Task name can not include slashes"))
}
if t.Driver == "" {