c563b9
From 494eebe33d56b24e1f3a13ebe6c0ec651c99a2af Mon Sep 17 00:00:00 2001
c563b9
From: Ken Gaillot <kgaillot@redhat.com>
c563b9
Date: Wed, 3 Feb 2021 09:47:39 -0600
c563b9
Subject: [PATCH] Fix: tools: get cibsecret stash working again
c563b9
c563b9
Broke with dfe636c4
c563b9
---
c563b9
 tools/cibsecret.in | 2 +-
c563b9
 1 file changed, 1 insertion(+), 1 deletion(-)
c563b9
c563b9
diff --git a/tools/cibsecret.in b/tools/cibsecret.in
c563b9
index 6326bf0..ce57a18 100644
c563b9
--- a/tools/cibsecret.in
c563b9
+++ b/tools/cibsecret.in
c563b9
@@ -393,7 +393,7 @@ cibsecret_stash() {
c563b9
         fatal $CRM_EX_NOSUCH "nothing to stash for resource $rsc parameter $param"
c563b9
     is_secret "$CIBSTASH_CURRENT" &&
c563b9
         fatal $CRM_EX_EXISTS "resource $rsc parameter $param already set as secret, nothing to stash"
c563b9
-    cibsecret_set "$CIBSTASH_CURRENT"
c563b9
+    cibsecret_set "$CIBSTASH_CURRENT" 4
c563b9
 }
c563b9
 
c563b9
 cibsecret_unstash() {
c563b9
-- 
c563b9
1.8.3.1
c563b9