From af6421da886e1f3429d53fa5e92c3f249b681f34 Mon Sep 17 00:00:00 2001 From: "Arthur K." Date: Mon, 19 Jan 2026 18:44:07 +0300 Subject: [PATCH] chore: return proper state in host role getExternal() --- internal/roles/host/host.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/internal/roles/host/host.go b/internal/roles/host/host.go index 2b35181..ca61e2f 100644 --- a/internal/roles/host/host.go +++ b/internal/roles/host/host.go @@ -93,7 +93,12 @@ func (r *Role) getInternal() (types.HostState, error) { } func (r *Role) getExternal() (types.HostState, error) { - return types.HostState{}, nil + return types.HostState{ + Domains: r.externalDomains, + Address: r.config.IpAddress, + Hostname: r.state.Self.Hostname, + }, nil + } func (r *Role) RegisterHandlers(rg types.Registrator) {