Blob Blame History Raw
From 494eebe33d56b24e1f3a13ebe6c0ec651c99a2af Mon Sep 17 00:00:00 2001
From: Ken Gaillot <kgaillot@redhat.com>
Date: Wed, 3 Feb 2021 09:47:39 -0600
Subject: [PATCH] Fix: tools: get cibsecret stash working again

Broke with dfe636c4
---
 tools/cibsecret.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/cibsecret.in b/tools/cibsecret.in
index 6326bf0..ce57a18 100644
--- a/tools/cibsecret.in
+++ b/tools/cibsecret.in
@@ -393,7 +393,7 @@ cibsecret_stash() {
         fatal $CRM_EX_NOSUCH "nothing to stash for resource $rsc parameter $param"
     is_secret "$CIBSTASH_CURRENT" &&
         fatal $CRM_EX_EXISTS "resource $rsc parameter $param already set as secret, nothing to stash"
-    cibsecret_set "$CIBSTASH_CURRENT"
+    cibsecret_set "$CIBSTASH_CURRENT" 4
 }
 
 cibsecret_unstash() {
-- 
1.8.3.1