summaryrefslogtreecommitdiff
path: root/system/addon/addon.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-01-11 16:06:27 -0800
committerSteve Manuel <nilslice@gmail.com>2017-01-11 16:06:27 -0800
commit2e0b2d83f065d72fc39f89f592f98af421fce34a (patch)
tree39e25b494aac05da72e7c3fb9061d1f4327490d2 /system/addon/addon.go
parented8ed9085f21fda26dc52862f4118b12d0745347 (diff)
make url.Values so it is not nil when set/add is called
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 c68a40e..e4e8f70 100644
--- a/system/addon/addon.go
+++ b/system/addon/addon.go
@@ -185,7 +185,7 @@ func setStatus(key, status string) error {
return err
}
- var vals url.Values
+ vals := make(url.Values)
for k, v := range kv {
switch v.(type) {
case []string: