|
Ensure agentconfig datadir is not empty
When reading format 1.16 agent config files, the new
1.18 datadir attribute was not being set to the new
default value and instead was being written out as "".
This broke upgrades.
I also included some drive by changes to better log
errors so that we can diagnose issues by looking at
debug-log.
https://code.launchpad.net/~wallyworld/juju-core/old-agentconf-datadir/+merge/210526
(do not edit description out of merge proposal)
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+29 lines, -12 lines) |
Patch |
|
A |
[revision details]
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
agent/agent.go
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
agent/format-1.16.go
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
agent/format-1.16_whitebox_test.go
|
View
|
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
agent/format-1.18.go
|
View
|
|
1 chunk |
+3 lines, -0 lines |
1 comment
|
Download
|
|
M |
agent/format-1.18_whitebox_test.go
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
cmd/jujud/agent.go
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
container/userdata.go
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
environs/cloudinit.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
provider/manual/environ.go
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
worker/upgrader/error.go
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 3
|