mirror of
https://github.com/safing/portbase
synced 2025-09-01 10:09:50 +00:00
Fix lint issue
This commit is contained in:
parent
f7ccc58b98
commit
32e8c555f5
1 changed files with 1 additions and 4 deletions
|
@ -173,10 +173,7 @@ func (c *Container) CheckError() {
|
|||
|
||||
// HasError returns wether or not the container is holding an error.
|
||||
func (c *Container) HasError() bool {
|
||||
if c.err != nil {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
return c.err != nil
|
||||
}
|
||||
|
||||
// Error returns the error.
|
||||
|
|
Loading…
Add table
Reference in a new issue