fix: lint errors after upgrading golangci-lint (#12368)

This commit is contained in:
Harshavardhana authored and GitHub committed 2021-05-25 14:17:33 -07:00
1 parent ed4941a5f3
commit 4fd1378242
13 files changed
+26 -50

No files matched your search

+1 -5
View File
@@ -181,11 +181,7 @@ allElems:
return err
}
w.Flush()
if err := w.Error(); err != nil {
return err
}
return nil
return w.Error()
}
// Raw - returns the underlying representation.