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

Unified Diff: state/service.go

Issue 8667043: various: unify machine and unit status types (Closed)
Patch Set: various: unify machine and unit status types Created 10 years, 11 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 | « state/megawatcher_internal_test.go ('k') | state/state.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: state/service.go
=== modified file 'state/service.go'
--- state/service.go 2013-04-11 12:51:15 +0000
+++ state/service.go 2013-04-11 15:46:31 +0000
@@ -533,7 +533,7 @@
Principal: principalName,
}
sdoc := statusDoc{
- Status: string(params.UnitPending),
+ Status: params.StatusPending,
}
ops := []txn.Op{
{
« no previous file with comments | « state/megawatcher_internal_test.go ('k') | state/state.go » ('j') | no next file with comments »

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