| Index: worker/machiner/machiner.go |
| === modified file 'worker/machiner/machiner.go' |
| --- worker/machiner/machiner.go 2012-09-21 12:08:44 +0000 |
| +++ worker/machiner/machiner.go 2012-09-28 09:57:23 +0000 |
| @@ -1,6 +1,7 @@ |
| package machiner |
| import ( |
| + "errors" |
| "fmt" |
| "launchpad.net/juju-core/container" |
| "launchpad.net/juju-core/environs" |
| @@ -20,6 +21,8 @@ |
| tools *state.Tools |
| } |
| +var ErrDead = errors.New("machine is dead") |
| + |
| // NewMachiner starts a machine agent running that |
| // deploys agents in the given directory. |
| // The Machiner dies when it encounters an error. |