Index: worker/machiner/machiner.go |
=== modified file 'worker/machiner/machiner.go' |
--- worker/machiner/machiner.go 2013-04-11 11:18:03 +0000 |
+++ worker/machiner/machiner.go 2013-04-11 15:46:31 +0000 |
@@ -60,7 +60,7 @@ |
log.Debugf("worker/machiner: agent for machine %q is now alive", m) |
// Mark the machine as started and log it. |
- if err := m.SetStatus(params.MachineStarted, ""); err != nil { |
+ if err := m.SetStatus(params.StatusStarted, ""); err != nil { |
return err |
} |
log.Noticef("worker/machiner: machine %q started", m) |
@@ -79,7 +79,7 @@ |
} |
if m.Life() != state.Alive { |
log.Debugf("worker/machiner: machine %q is now %s", m, m.Life()) |
- if err := m.SetStatus(params.MachineStopped, ""); err != nil { |
+ if err := m.SetStatus(params.StatusStopped, ""); err != nil { |
return err |
} |
// If the machine is Dying, it has no units, |