From 83905075e5580601f5b4ae655917d870b1c32b70 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Sat, 17 Sep 2016 11:31:17 -0700 Subject: [PATCH] Fix comment --- client/alloc_runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/alloc_runner.go b/client/alloc_runner.go index 1f35f1acb..ef0f087ba 100644 --- a/client/alloc_runner.go +++ b/client/alloc_runner.go @@ -662,7 +662,7 @@ func (r *AllocRunner) recoverVaultTokens() error { return fmt.Errorf("failed to determine task %s secret dir in alloc %q: %v", task, r.alloc.ID, err) } - // Write the token to the file system + // Read the token from the secret directory tokenPath := filepath.Join(secretDir, vaultTokenFile) data, err := ioutil.ReadFile(tokenPath) if err != nil {