gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: fix name


From: gnunet
Subject: [taler-deployment] branch master updated: fix name
Date: Wed, 28 Apr 2021 15:28:25 +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 7d3c0a8  fix name
7d3c0a8 is described below

commit 7d3c0a89d61b992ce5732283a3a5639bf15b222e
Author: MS <ms@taler.net>
AuthorDate: Wed Apr 28 15:28:07 2021 +0200

    fix name
---
 bin/taler-deployment-config-instances | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/bin/taler-deployment-config-instances 
b/bin/taler-deployment-config-instances
index 65cebc8..81dc6b1 100755
--- a/bin/taler-deployment-config-instances
+++ b/bin/taler-deployment-config-instances
@@ -53,13 +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.patch(
+        print(f"trying to PATCH instance {instance_id}")
+        create_resp = requests.patch(
             urljoin(MERCHANT_BACKEND_BASE_URL, 
f"private/instances/{instance_id}"), 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)
+    if create_resp.status_code < 200 or create_resp.status_code >= 300:
+        print(f"failed to PATCH instance {instance_id}")
+        print(create_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]