gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: Allow instance PATCH


From: gnunet
Subject: [taler-deployment] branch master updated: Allow instance PATCH
Date: Wed, 28 Apr 2021 11:49:48 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 7b218e0  Allow instance PATCH
7b218e0 is described below

commit 7b218e099383dbe4bea2926cad11d5569ad9f897
Author: MS <ms@taler.net>
AuthorDate: Wed Apr 28 11:49:44 2021 +0200

    Allow instance PATCH
---
 bin/taler-deployment-config-instances | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/bin/taler-deployment-config-instances 
b/bin/taler-deployment-config-instances
index 3d6acda..0a5ae57 100755
--- a/bin/taler-deployment-config-instances
+++ b/bin/taler-deployment-config-instances
@@ -53,6 +53,13 @@ def ensure_instance(instance_id, name, payto_uris, auth):
     if create_resp.status_code < 200 or create_resp.status_code >= 300:
         print(f"failed to create instance {instance_id}")
         print(create_resp.text)
+        print("trying with PATCH")
+        patch_resp = requests.post(
+            urljoin(MERCHANT_BACKEND_BASE_URL, "private/instances"), json=req
+        )
+    if patch_resp.status_code < 200 or patch_resp.status_code >= 300:
+        print(f"failed to patch instance {instance_id}")
+        print(patch_resp.text)
         exit(1)
 
 ensure_instance(

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]