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

Unified Diff: state/api/machiner/machine.go

Issue 13430044: state: added status data to status doc
Patch Set: state: added status data to status doc Created 11 years, 6 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 | « cmd/jujud/machine_test.go ('k') | state/api/machiner/machiner_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: state/api/machiner/machine.go
=== modified file 'state/api/machiner/machine.go'
--- state/api/machiner/machine.go 2013-08-28 14:03:08 +0000
+++ state/api/machiner/machine.go 2013-09-17 18:18:44 +0000
@@ -38,11 +38,11 @@
}
// SetStatus sets the status of the machine.
-func (m *Machine) SetStatus(status params.Status, info string) error {
+func (m *Machine) SetStatus(status params.Status, info string, data params.StatusData) error {
var result params.ErrorResults
args := params.SetStatus{
Entities: []params.SetEntityStatus{
- {Tag: m.tag, Status: status, Info: info},
+ {Tag: m.tag, Status: status, Info: info, Data: data},
},
}
err := m.st.caller.Call("Machiner", "", "SetStatus", args, &result)
« no previous file with comments | « cmd/jujud/machine_test.go ('k') | state/api/machiner/machiner_test.go » ('j') | no next file with comments »

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