rename func: ReplaceVariables -> CompiledTask

This commit is contained in:
Andrey Nering
2017-07-30 19:34:28 -03:00
parent bb1aff84cf
commit 70ef9fbcfe
2 changed files with 4 additions and 4 deletions

View File

@@ -226,9 +226,9 @@ func (e *Executor) handleDynamicVariableContent(v Var) (string, error) {
return result, nil
}
// ReplaceVariables returns a copy of a task, but replacing
// CompiledTask returns a copy of a task, but replacing
// variables in almost all properties using the Go template package
func (t *Task) ReplaceVariables(vars Vars) (*Task, error) {
func (t *Task) CompiledTask(vars Vars) (*Task, error) {
r := varReplacer{vars: vars}
new := Task{