Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(960)

Unified Diff: worker/environ.go

Issue 6574060: cmd/jujud: allow for a clean exit
Patch Set: cmd/jujud: allow for a clean exit Created 12 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « upstart/upstart_test.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: worker/environ.go
=== modified file 'worker/environ.go'
--- worker/environ.go 2012-08-31 16:14:09 +0000
+++ worker/environ.go 2012-09-28 15:27:47 +0000
@@ -1,6 +1,7 @@
package worker
import (
+ "errors"
"launchpad.net/juju-core/environs"
"launchpad.net/juju-core/log"
"launchpad.net/juju-core/state"
@@ -8,6 +9,8 @@
"launchpad.net/tomb"
)
+var ErrDead = errors.New("agent entity is dead")
+
var loadedInvalid = func() {}
// WaitForEnviron waits for an valid environment to arrive from
« no previous file with comments | « upstart/upstart_test.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b