|
state: rationalize destruction APIs
EnsureDying has become Destroy, to match Service and Relation;
State.RemoveMachine has become Machine.Remove, as has Service.RemoveUnit
become Unit.Remove. This change is entirely mechanical.
https://code.launchpad.net/~fwereade/juju-core/state-death-api/+merge/143555
Requires: https://code.launchpad.net/~fwereade/juju-core/state-service-api/+merge/143394
(do not edit description out of merge proposal)
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+200 lines, -237 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/machine_test.go
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/unit_test.go
|
View
|
1
2
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
environs/jujutest/livetests.go
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
juju/conn.go
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
state/assign_test.go
|
View
|
1
|
8 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
state/life.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
state/life_test.go
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
state/machine.go
|
View
|
1
2
|
2 chunks |
+18 lines, -3 lines |
0 comments
|
Download
|
 |
M |
state/machine_test.go
|
View
|
|
18 chunks |
+35 lines, -23 lines |
0 comments
|
Download
|
 |
M |
state/relation.go
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
state/relation_test.go
|
View
|
1
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
state/service.go
|
View
|
1
|
1 chunk |
+0 lines, -30 lines |
0 comments
|
Download
|
 |
M |
state/service_test.go
|
View
|
1
|
13 chunks |
+14 lines, -39 lines |
0 comments
|
Download
|
 |
M |
state/state.go
|
View
|
1
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
 |
M |
state/state_test.go
|
View
|
1
2
|
8 chunks |
+11 lines, -32 lines |
0 comments
|
Download
|
 |
M |
state/tools_test.go
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
state/unit.go
|
View
|
1
|
2 chunks |
+34 lines, -2 lines |
0 comments
|
Download
|
 |
M |
state/unit_test.go
|
View
|
1
2
|
14 chunks |
+36 lines, -18 lines |
0 comments
|
Download
|
 |
M |
worker/deployer/deployer.go
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
worker/deployer/deployer_test.go
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
worker/firewaller/firewaller_test.go
|
View
|
1
2
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
worker/machiner/machiner_test.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
worker/uniter/filter.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
worker/uniter/filter_test.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
worker/uniter/modes.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
worker/uniter/uniter.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
worker/uniter/uniter_test.go
|
View
|
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
Total messages: 5
|