It's state, not config.
This commit is contained in:
@@ -113,7 +113,7 @@ func TestHaproxyStats_WhenSocketMissing(t *testing.T) {
|
||||
func TestHaproxyGenerate_MissingGlobalConfig(t *testing.T) {
|
||||
api, tmpDir := setupTestHaproxy(t)
|
||||
|
||||
os.Remove(filepath.Join(tmpDir, "config.yaml"))
|
||||
os.Remove(filepath.Join(tmpDir, "state.yaml"))
|
||||
|
||||
req := httptest.NewRequest("POST", "/api/v1/haproxy/generate", nil)
|
||||
w := httptest.NewRecorder()
|
||||
|
||||
Reference in New Issue
Block a user