pcs/disable-gui.patch

41 lines
1.1 KiB
Diff
Raw Normal View History

2018-10-09 13:38:20 +00:00
From a6105339c18a7ac1a69f4c61d0c436c38249798a Mon Sep 17 00:00:00 2001
2018-07-26 08:22:42 +00:00
From: Ivan Devat <idevat@redhat.com>
Date: Tue, 17 Jul 2018 12:59:17 +0200
2018-10-09 13:38:20 +00:00
Subject: [PATCH 1/4] disable gui
2018-07-26 08:22:42 +00:00
---
pcs/daemon/run.py | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/pcs/daemon/run.py b/pcs/daemon/run.py
2018-10-09 13:38:20 +00:00
index 2b6e00ed..2d3dfbca 100644
2018-07-26 08:22:42 +00:00
--- a/pcs/daemon/run.py
+++ b/pcs/daemon/run.py
2018-10-09 13:38:20 +00:00
@@ -59,14 +59,15 @@ def configure_app(
2018-07-26 08:22:42 +00:00
https_server_manage,
)
- if not disable_gui:
- routes.extend(
- app_gui.get_routes(
- session_storage,
- ruby_pcsd_wrapper,
- public_dir
- )
- )
+ # gui is not prepared yet
+ # if not disable_gui:
+ # routes.extend(
+ # app_gui.get_routes(
+ # session_storage,
+ # ruby_pcsd_wrapper,
+ # public_dir
+ # )
+ # )
return Application(routes, debug=debug)
return make_app
--
2018-10-09 13:38:20 +00:00
2.18.0
2018-07-26 08:22:42 +00:00