Skip to content

Commit 829f34d

Browse files
committed
mns services
1 parent 5bdecf1 commit 829f34d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

azure/azure-pr-teardown-pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
ID_SYNC_QUEUE_ARN=$(make -s output name=id_sync_queue_arn)
6161
echo "##vso[task.setvariable variable=ID_SYNC_QUEUE_ARN]$ID_SYNC_QUEUE_ARN"
6262
displayName: "Init Terraform and extract MNS values"
63+
condition: eq(1,2)
6364
6465
- bash: |
6566
export AWS_PROFILE=apim-dev
@@ -90,3 +91,4 @@ jobs:
9091
make destroy aws_account_no=${account_id} environment="$ENVIRONMENT" sub_environment="$SUB_ENVIRONMENT"
9192
displayName: Destroy terraform PR workspace and linked resources
9293
retryCountOnTaskFailure: 2
94+
condition: eq(1,2)

mns_subscription/src/mns_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def delete_subscription(self, subscription_id: str) -> bool:
9696
response = requests.delete(url, headers=self.request_headers, timeout=10)
9797
if response.status_code == 204:
9898
logging.info(f"Deleted subscription {subscription_id}")
99-
print(f"{response.body}")
99+
print(f"{response.text}")
100100
return True
101101
else:
102102
MnsService.handle_response(response)

0 commit comments

Comments
 (0)