|
state: drop kill and Die method names
s/Kill/EnsureDying/
s/Die/EnsureDead/
The above methods are now implemented in terms of ensureDying and ensureDead
funcs; ensureDead allows you to pass a list of additional txn.Ops that can
block entity death by including Asserts.
https://code.launchpad.net/~fwereade/juju-core/rename-kill-die/+merge/125761
(do not edit description out of merge proposal)
Total comments: 28
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+225 lines, -154 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cmd/jujuc/server/context_test.go
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
state/assign_test.go
|
View
|
1
2
3
|
11 chunks |
+18 lines, -17 lines |
0 comments
|
Download
|
 |
M |
state/life.go
|
View
|
1
2
3
|
2 chunks |
+37 lines, -22 lines |
0 comments
|
Download
|
 |
M |
state/life_test.go
|
View
|
|
4 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
state/machine.go
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
state/machine_test.go
|
View
|
1
2
3
|
7 chunks |
+19 lines, -19 lines |
0 comments
|
Download
|
 |
M |
state/relation.go
|
View
|
1
2
3
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
state/relation_test.go
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
state/service.go
|
View
|
1
2
3
|
7 chunks |
+27 lines, -10 lines |
0 comments
|
Download
|
 |
M |
state/service_test.go
|
View
|
1
2
3
|
17 chunks |
+69 lines, -35 lines |
0 comments
|
Download
|
 |
M |
state/state.go
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
state/state_test.go
|
View
|
1
2
3
|
13 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
M |
state/tools_test.go
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
state/unit.go
|
View
|
1
2
3
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
state/unit_test.go
|
View
|
1
2
3
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 9
|