Delete kwargs[payload] in secret_present state
The aim of the patch is to fix the issue with payload in
secret_present state due to fact that payload is in kwargs
and as a separat variable kwargs[payload].
Change-Id: I5cb4ad419448946e7e0c124fe4e11684aa4c68ec
diff --git a/_states/barbicanv1.py b/_states/barbicanv1.py
index 0d29dbc..8c70bea 100644
--- a/_states/barbicanv1.py
+++ b/_states/barbicanv1.py
@@ -64,7 +64,7 @@
except Exception:
try:
_barbicanv1_call(
- 'secret_payload_set', name=name, payload=kwargs['payload'],
+ 'secret_payload_set', name=name,
cloud_name=cloud_name, **kwargs
)
except Exception as e: