Merge pull request #489 from unpoller/fix-pdu

fixes PDU unmarshalling issue
This commit is contained in:
Cody Lee 2022-12-23 10:00:17 -06:00 committed by GitHub
commit e769401ca3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

4
go.mod
View File

@ -11,6 +11,7 @@ require (
github.com/prometheus/common v0.39.0
github.com/spf13/pflag v1.0.6-0.20201009195203-85dd5c8bc61c
golang.org/x/crypto v0.4.0
golang.org/x/net v0.4.0
golang.org/x/term v0.3.0
golift.io/cnfg v0.2.1
golift.io/cnfgfile v0.0.0-20220509075834-08755d9ef3f5
@ -23,7 +24,6 @@ require (
github.com/deepmap/oapi-codegen v1.8.2 // indirect
github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839 // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/net v0.4.0 // indirect
golang.org/x/tools v0.1.12 // indirect
)
@ -35,7 +35,7 @@ require (
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/prometheus/client_model v0.3.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
github.com/unpoller/unifi v0.2.0
github.com/unpoller/unifi v0.2.1
golang.org/x/sys v0.3.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect

4
go.sum
View File

@ -75,8 +75,8 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
github.com/unpoller/unifi v0.2.0 h1:bx0B72K/AKFFgeEcbJO0503nQ3Vtz2H9oWVWYcxAtWo=
github.com/unpoller/unifi v0.2.0/go.mod h1:pD8ZEJTTlcmLJ6FjIOfujnfvb2P0iyaOwPMHmKW2jXY=
github.com/unpoller/unifi v0.2.1 h1:INTzEghIWxH93PcKOZt1ldns31CbbM4+NkLmi/eIy1k=
github.com/unpoller/unifi v0.2.1/go.mod h1:pD8ZEJTTlcmLJ6FjIOfujnfvb2P0iyaOwPMHmKW2jXY=
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8=
github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ=