From fad259da9a6b8128936d82277bd5692b0c69bedc Mon Sep 17 00:00:00 2001 From: Nobuto Murata Date: Mon, 6 Nov 2023 13:09:30 +0000 Subject: [PATCH] Fix key errors for rbd-pool-name and ec-rbd-metadata-pool The existing code assumes event.params['rbd-pool-name'] and event.params['ec-rbd-metadata-pool'] have a key. Set an empty string by default to be filled by other part of the code. Follow-up of Iec275190854edcc85915d93db233f444c92fbb17 Closes-Bug: #2042419 Change-Id: I819f0d4456530ace8162456dec1f2fcb7fa95e7f --- actions.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actions.yaml b/actions.yaml index 683e66e..87205b9 100644 --- a/actions.yaml +++ b/actions.yaml @@ -42,9 +42,11 @@ create-target: description: "Image name " rbd-pool-name: type: string + default: "" description: "Name of ceph pool to use to back target " ec-rbd-metadata-pool: type: string + default: "" description: "Name of the metadata pool to use with rbd-pool-name if rbd-pool-name is erasure coded." client-initiatorname: type: string