fix: use local go-unifi with omitempty fix for zone policy bug

Switch go-unifi dependency from remote fork to local module which includes
the fix for empty string fields (firewall_zone_id, etc.) being sent in
network API requests, causing all zone policies to disappear from the UI.

Also updates Makefile with cross-compile and deploy targets, and README
with self-contained build/install instructions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Adam Nadrowski
2026-02-06 23:00:11 -05:00
parent 13da1c0347
commit a56df16830
4 changed files with 103 additions and 40 deletions

2
go.mod
View File

@@ -427,4 +427,4 @@ require (
tags.cncf.io/container-device-interface v0.8.1 // indirect
)
replace github.com/filipowm/go-unifi => github.com/shadyeip/go-unifi v1.8.1
replace github.com/filipowm/go-unifi => ../go-unifi