From e0263d3013f1c909613ab5afe3ab376763612497 Mon Sep 17 00:00:00 2001 From: Diptanu Choudhury Date: Sat, 26 Mar 2016 12:51:53 -0700 Subject: [PATCH] Added docs to interpolateServices method --- client/driver/executor/executor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/driver/executor/executor.go b/client/driver/executor/executor.go index 60fd6f40b..e9a45e2d5 100644 --- a/client/driver/executor/executor.go +++ b/client/driver/executor/executor.go @@ -545,6 +545,8 @@ func (e *UniversalExecutor) createCheck(check *structs.ServiceCheck, checkID str return nil, fmt.Errorf("couldn't create check for %v", check.Name) } +// interpolateServices interpolates tags in a service with values from the +// task's environment. func (e *UniversalExecutor) interpolateServices(task *structs.Task) { e.ctx.TaskEnv.Build() for _, service := range task.Services {