Skip to content

Commit

Permalink
client: remove old proxy references from comments
Browse files Browse the repository at this point in the history
  • Loading branch information
schmichael committed Nov 16, 2018
1 parent 9704a19 commit 2fab212
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions client/allocrunner/taskrunner/task_runner_getters.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,15 @@ func (tr *TaskRunner) setVaultToken(token string) {
tr.envBuilder.SetVaultToken(token, tr.task.Vault.Env)
}

// getDriverHandle returns a driver handle and its result proxy. Use the
// result proxy instead of the handle's WaitCh.
// getDriverHandle returns a driver handle.
func (tr *TaskRunner) getDriverHandle() *DriverHandle {
tr.handleLock.Lock()
defer tr.handleLock.Unlock()
return tr.handle
}

// setDriverHanlde sets the driver handle, creates a new result proxy, and
// updates the driver network in the task's environment.
// setDriverHandle sets the driver handle and updates the driver network in the
// task's environment.
func (tr *TaskRunner) setDriverHandle(handle *DriverHandle) {
tr.handleLock.Lock()
defer tr.handleLock.Unlock()
Expand Down

0 comments on commit 2fab212

Please sign in to comment.