Update lifecycle.go

This commit is contained in:
AdamDang 2018-05-03 20:15:47 +08:00 committed by GitHub
parent 3c2910b7fe
commit 1f407740cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ const (
// HasLifecycle indicates that the task has a Lifecycle
type HasLifecycle interface {
GetLifecycle() *Lifecycle
// SetLifecycle is used to override a tasks lifecycle. If a lifecycle overide exists for a specific task name, then the
// SetLifecycle is used to override a tasks lifecycle. If a lifecycle override exists for a specific task name, then the
// lifecycle is modified.
SetLifecycle(lifecycle Lifecycle)
}