add more details to the server status page

add all supported fields to the OpenAPI docs

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2022-02-26 16:43:29 +01:00
parent b64d3c2fbf
commit 7f674a7fb3
11 changed files with 131 additions and 10 deletions

View File

@@ -975,6 +975,7 @@ func TestPassiveIPResolver(t *testing.T) {
}
err = b.checkPassiveIP()
assert.NoError(t, err)
assert.NotEmpty(t, b.PassiveIPOverrides[0].GetNetworksAsString())
assert.Equal(t, "192.168.1.1", b.PassiveIPOverrides[0].IP)
require.Len(t, b.PassiveIPOverrides[0].parsedNetworks, 1)
ip := net.ParseIP("192.168.1.2")