diff options
Diffstat (limited to 'modules/storage/helper.go')
-rw-r--r-- | modules/storage/helper.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/storage/helper.go b/modules/storage/helper.go index 46ab82aed6..4d8ba8e6d9 100644 --- a/modules/storage/helper.go +++ b/modules/storage/helper.go @@ -50,7 +50,7 @@ func toConfig(exemplar, cfg interface{}) (interface{}, error) { var err error configBytes, err = json.Marshal(cfg) - ok = (err == nil) + ok = err == nil } if !ok { // no ... we've tried hard enough at this point - throw an error! |