We're going to need it for some specific Quay APIs later on.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
guests/quayadmin | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/guests/quayadmin b/guests/quayadmin
index 4e60653..9f1b7d4 100755
--- a/guests/quayadmin
+++ b/guests/quayadmin
@@ -87,6 +87,10 @@ def post(config, endpoint, payload=None, debug=False):
return request(config, endpoint, method=requests.post, payload=payload, debug=debug)
+def put(config, endpoint, payload=None, debug=False):
+ return request(config, endpoint, method=requests.put, payload=payload, debug=debug)
+
+
def has_error(quiet, res, expected, message):
if res.status_code == expected:
return False
--
2.21.0