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

Unified Diff: state/unit.go

Issue 13494043: state;uniter: Refactor UnitSettings and hook.Info (Closed)
Patch Set: Created 11 years, 7 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: state/unit.go
=== modified file 'state/unit.go'
--- state/unit.go 2013-08-21 05:38:38 +0000
+++ state/unit.go 2013-09-03 15:39:37 +0000
@@ -63,11 +63,8 @@
// UnitSettings holds information about a service unit's settings
// within a relation.
-// NOTE: Settings field may always be nil and should never be
-// dependent upon. We need to remove it in the future.
type UnitSettings struct {
- Version int64
- Settings map[string]interface{}
+ Version int64
}
// unitDoc represents the internal state of a unit in MongoDB.

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