Skip to content

Commit 2e0b6da

Browse files
Fixed formatting bug discovered by GitHub CI
1 parent 67f1667 commit 2e0b6da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,15 +239,15 @@ func decode_vpc_flow_log(message string) (*VPCFlowLog, error) {
239239
src_port_number, err := strconv.Atoi(src_port)
240240

241241
if err != nil {
242-
return nil, fmt.Errorf("Cannot decode source port: %w")
242+
return nil, fmt.Errorf("Cannot decode source port: %w", err)
243243
}
244244

245245
flow_log.Src_port = uint16(src_port_number)
246246

247247
dst_port_number, err := strconv.Atoi(dst_port)
248248

249249
if err != nil {
250-
return nil, fmt.Errorf("Cannot decode destination port: %w")
250+
return nil, fmt.Errorf("Cannot decode destination port: %w", err)
251251
}
252252

253253
flow_log.Dst_port = uint16(dst_port_number)

0 commit comments

Comments
 (0)