From e03775daf1c08ac406714bdacfdf373ecbbc244c Mon Sep 17 00:00:00 2001 From: Luke Kysow Date: Sun, 25 Jun 2017 21:44:30 -0700 Subject: [PATCH] Comment on closed PR with locks/plans cleaned (#43) --- locking/locking.go | 1 - server/plan_executor.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/locking/locking.go b/locking/locking.go index 5ec82180df..10d52dd139 100644 --- a/locking/locking.go +++ b/locking/locking.go @@ -56,7 +56,6 @@ func (c *Client) Unlock(key string) (*models.ProjectLock, error) { if err != nil { return nil, err } - return c.backend.Unlock(project, env) } diff --git a/server/plan_executor.go b/server/plan_executor.go index f9371b7d92..d5d84bbb97 100644 --- a/server/plan_executor.go +++ b/server/plan_executor.go @@ -27,7 +27,7 @@ type PlanExecutor struct { terraform *TerraformClient githubCommentRenderer *GithubCommentRenderer lockingClient *locking.Client - // LockURL is a function that given a lock id will return a url for detail view + // LockURL is a function that given a lock id will return the url to view that lock LockURL func(id string) (url string) planBackend plan.Backend }