Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
fixup! fixup! codeclimate: be quiet
Browse files Browse the repository at this point in the history
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
  • Loading branch information
Yoan Blanc committed Apr 9, 2018
1 parent fb67db5 commit 990e2ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ func NewPayload(buf []byte) (*Payload, error) {
return nil, errors.New("bad payload (priority should repeat)")
}

nicId, err := UUIDToStr(uuidbuf)
nicID, err := UUIDToStr(uuidbuf)
if err != nil {
return nil, err
}

payload := &Payload{
NicID: nicId,
NicID: nicID,
Priority: buf[2],
IP: net.IPv4(buf[4], buf[5], buf[6], buf[7]),
}
Expand Down

0 comments on commit 990e2ba

Please sign in to comment.