From 88c88cabab744dc3fea7ea8291f37540e176cb23 Mon Sep 17 00:00:00 2001 From: Luke Kysow Date: Wed, 21 Jun 2017 10:35:22 -0700 Subject: [PATCH] Comment on closed PR with locks/plans cleaned --- 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 5ec82180..10d52dd1 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 f9371b7d..d5d84bbb 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 }