26 lines
755 B
Diff
26 lines
755 B
Diff
From 5175507f22adffcb443f9f89bda9705599dd89e9 Mon Sep 17 00:00:00 2001
|
|
From: Ivan Devat <idevat@redhat.com>
|
|
Date: Thu, 7 May 2020 17:11:12 +0200
|
|
Subject: [PATCH 2/3] fix inability to create colocation const. (web ui)
|
|
|
|
---
|
|
pcsd/pcs.rb | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/pcsd/pcs.rb b/pcsd/pcs.rb
|
|
index 9a0efb46..59492d20 100644
|
|
--- a/pcsd/pcs.rb
|
|
+++ b/pcsd/pcs.rb
|
|
@@ -187,7 +187,7 @@ def add_colocation_constraint(
|
|
score = "INFINITY"
|
|
end
|
|
command = [
|
|
- PCS, "constraint", "colocation", "add", resourceA, resourceB, score
|
|
+ PCS, "constraint", "colocation", "add", resourceA, "with", resourceB, score
|
|
]
|
|
command << '--force' if force
|
|
stdout, stderr, retval = run_cmd(auth_user, *command)
|
|
--
|
|
2.25.4
|
|
|