|
apiuniter: Fix lp:1231457
This changes several params types, while keeping
the field names for backward compatibility.
And changes the result of ConfigSettings() call
to return map[string]interface{}, because charm
settings are different from relation settings
(which are always strings), and coercing charm
settings to stings discards non-string config
settings, so this is fixed here.
https://code.launchpad.net/~dimitern/juju-core/148-apiuniter-fix-configsettings/+merge/187824
Requires: https://code.launchpad.net/~dimitern/juju-core/147-apiprovisioner-blank-env-secrets/+merge/187738
(do not edit description out of merge proposal)
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+180 lines, -113 lines) |
Patch |
 |
|
[revision details]
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
|
state/api/params/internal.go
|
View
|
|
2 chunks |
+37 lines, -22 lines |
0 comments
|
Download
|
 |
|
state/api/provisioner/provisioner.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
|
state/api/uniter/relationunit.go
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
|
state/api/uniter/relationunit_test.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
|
state/api/uniter/settings.go
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
|
state/api/uniter/settings_test.go
|
View
|
|
5 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
|
state/api/uniter/unit.go
|
View
|
1
|
2 chunks |
+2 lines, -10 lines |
0 comments
|
Download
|
 |
|
state/apiserver/provisioner/provisioner.go
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
|
state/apiserver/provisioner/provisioner_test.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
|
state/apiserver/uniter/uniter.go
|
View
|
1
|
7 chunks |
+24 lines, -19 lines |
0 comments
|
Download
|
 |
|
state/apiserver/uniter/uniter_test.go
|
View
|
1
|
6 chunks |
+64 lines, -12 lines |
0 comments
|
Download
|
 |
|
worker/uniter/context.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
|
worker/uniter/context_test.go
|
View
|
|
7 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
|
worker/uniter/jujuc/context.go
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
|
worker/uniter/jujuc/relation-get.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
|
worker/uniter/jujuc/util_test.go
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 3
|