summaryrefslogtreecommitdiff
diff options
authorMichael Vogt <mvo@ubuntu.com>2016-03-15 11:27:08 +0100
committerMichael Vogt <mvo@ubuntu.com>2016-03-15 11:27:08 +0100
commit7dc9d5cc34acca19ffad060a1366a96f0699c3dc (patch)
treee6a019a943792a21a16b2e288f32b13c66b23d87
parent134ca96cdb188ce122c3797e9f026f470b835187 (diff)
-rw-r--r--overlord/state/taskrunner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/overlord/state/taskrunner.go b/overlord/state/taskrunner.go
index d2aa3c0b97..5f0c971489 100644
--- a/overlord/state/taskrunner.go
+++ b/overlord/state/taskrunner.go
@@ -143,7 +143,7 @@ func (r *TaskRunner) Ensure() {
}
// Stop stops all concurrent activities and returns after that's done.
-// Note that stop will lock the state.
+// Note that Stop will lock the state.
func (r *TaskRunner) Stop() {
r.state.Lock()
defer r.state.Unlock()