Update to unifi library v5.6.0 and fix linter errors

- Update go.mod to use unifi library v5.6.0 (includes remote API support)
- Remove temporary replace directive now that v5.6.0 is published
- Fix empty-block linter errors in input.go by removing empty if blocks
This commit is contained in:
brngates98
2026-01-25 10:58:08 -05:00
parent e17d8bf62e
commit 1235430478
3 changed files with 5 additions and 8 deletions

5
go.mod
View File

@@ -12,7 +12,7 @@ require (
github.com/prometheus/common v0.67.5
github.com/spf13/pflag v1.0.10
github.com/stretchr/testify v1.11.1
github.com/unpoller/unifi/v5 v5.5.0
github.com/unpoller/unifi/v5 v5.6.0
golang.org/x/crypto v0.47.0
golang.org/x/term v0.39.0
golift.io/cnfg v0.2.3
@@ -46,6 +46,3 @@ require (
golang.org/x/sys v0.40.0 // indirect
google.golang.org/protobuf v1.36.11 // indirect
)
// for local iterative development only
replace github.com/unpoller/unifi/v5 => ../unifi