Skip to content
Snippets Groups Projects

Resolve "Improve security by enabling and enforcing more linting rules"

All threads resolved!
9 files
+ 19
11
Compare changes
  • Side-by-side
  • Inline
Files
9
@@ -32,6 +32,7 @@ POSSIBILITY OF SUCH DAMAGE.
package cmd
import (
"errors"
"io"
"code.fbi.h-da.de/danet/gosdn/api/go/gosdn/pnd"
@@ -79,7 +80,8 @@ The device UUID and requested paths must be specified as a positional arguments.
subscribeResponse, err := subClient.Recv()
if err != nil {
if err != nil {
if err == io.EOF {
if errors.Is(err, io.EOF) {
break
}
log.Error(err)
Loading