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

Unified Diff: cmd/jujud/machine.go

Issue 10398043: state/machine: new agent API
Patch Set: state/machine: new agent API Created 11 years, 9 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
Index: cmd/jujud/machine.go
=== modified file 'cmd/jujud/machine.go'
--- cmd/jujud/machine.go 2013-06-11 13:52:19 +0000
+++ cmd/jujud/machine.go 2013-06-18 11:04:41 +0000
@@ -122,7 +122,7 @@
tasks = append(tasks,
provisioner.NewProvisioner(st, a.MachineId),
firewaller.NewFirewaller(st))
- case state.JobServeAPI:
+ case state.JobManageState:
// Ignore because it's started independently.
continue
default:
@@ -173,7 +173,7 @@
m := entity.(*state.Machine)
runAPI := false
for _, job := range m.Jobs() {
- if job == state.JobServeAPI {
+ if job == state.JobManageState {
runAPI = true
break
}

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