fix: Haproxy errors
This commit is contained in:
@@ -138,12 +138,7 @@ export async function haproxyInstance() {
|
||||
|
||||
export async function configureHAProxy() {
|
||||
const haproxy = await haproxyInstance();
|
||||
|
||||
try {
|
||||
await checkHAProxy(haproxy);
|
||||
} catch (error) {
|
||||
return 'Error: HAProxy is not running';
|
||||
}
|
||||
await checkHAProxy(haproxy);
|
||||
|
||||
try {
|
||||
const data = {
|
||||
|
Reference in New Issue
Block a user