diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-01-16 13:04:08 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-01-16 13:04:08 -0800 |
commit | 1e249d23b741ce7f0908fd0160184fac184439a9 (patch) | |
tree | d9173e280038653aa4e5390ab707bad59908b71f /system/db | |
parent | b67aa10ca519107ae43520aa46b45601549a7332 (diff) |
fixing cors change and gzip response writer
Diffstat (limited to 'system/db')
-rw-r--r-- | system/db/addon.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/db/addon.go b/system/db/addon.go index a145293..0f63405 100644 --- a/system/db/addon.go +++ b/system/db/addon.go @@ -119,7 +119,7 @@ func DeleteAddon(key string) error { err := store.Update(func(tx *bolt.Tx) error { b := tx.Bucket([]byte("__addons")) if b == nil { - bolt.ErrBucketNotFound + return bolt.ErrBucketNotFound } if err := b.Delete([]byte(key)); err != nil { |