Enable vetshadow linter

This commit is contained in:
Andrey Smirnov committed 2017-05-04 23:00:13 +03:00
1 parent a9a5a73dfd
commit 5ce6bf8718
18 files changed
+82 -65

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ func aptlyTaskRun(cmd *commander.Command, args []string) error {
for i, command := range cmdList {
if !commandErrored {
err := context.ReOpenDatabase()
err = context.ReOpenDatabase()
if err != nil {
return fmt.Errorf("failed to reopen DB: %s", err)
}