summaryrefslogtreecommitdiff
path: root/system/addon/addon.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-01-10 11:23:13 -0800
committerSteve Manuel <nilslice@gmail.com>2017-01-10 11:23:13 -0800
commit03649f39d21971db323ae95bd956eed2a229a4b7 (patch)
treee6e231094a54296f56574665008c090fed5924ec /system/addon/addon.go
parent3532b3cea423c7ff23663df1249f3cd3e323792b (diff)
changing Values set to convert value to string
Diffstat (limited to 'system/addon/addon.go')
-rw-r--r--system/addon/addon.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/addon/addon.go b/system/addon/addon.go
index e900b9e..5f9778e 100644
--- a/system/addon/addon.go
+++ b/system/addon/addon.go
@@ -106,7 +106,7 @@ func register(a Addon) error {
// save new addon to db
vals := make(url.Values)
for k, v := range kv {
- vals.Set(k, v.(string))
+ vals.Set(k, fmt.Sprintf("%v", v))
}
vals.Set("addon_name", a.PonzuAddonName)