mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user