Fix comment

This commit is contained in:
Alex Dadgar 2016-09-17 11:31:17 -07:00
parent 40fc1d1dfd
commit 83905075e5
1 changed files with 1 additions and 1 deletions

View File

@ -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 {