mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
REST API: add a method to get the status of the services
added a status page to the built-in web admin
This commit is contained in:
@@ -549,7 +549,7 @@ func TestApiCallToNotListeningServer(t *testing.T) {
|
||||
assert.Error(t, err)
|
||||
_, _, err = GetVersion(http.StatusOK)
|
||||
assert.Error(t, err)
|
||||
_, _, err = GetProviderStatus(http.StatusOK)
|
||||
_, _, err = GetStatus(http.StatusOK)
|
||||
assert.Error(t, err)
|
||||
_, _, err = Dumpdata("backup.json", "0", http.StatusOK)
|
||||
assert.Error(t, err)
|
||||
|
||||
Reference in New Issue
Block a user