Files
zeekay 50a081004c fix(grace): guard graceful/socketorder flag registration against redefinition
The unified Hanzo cloud binary composes subsystems that may each pull a beego
grace package (legacy beego v1 alongside this v2 fork); both register the same
"graceful"/"socketorder" flags in init(). Defining a flag twice on
flag.CommandLine panics ("flag redefined"). Guard each registration with
flag.Lookup so the unified binary boots regardless of init order.
2026-06-21 08:00:10 -07:00
..