Skip to content

Commit b261e89

Browse files
committed
review
1 parent 1579859 commit b261e89

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

azure/azure-pr-teardown-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
echo "##vso[task.setvariable variable=AWS_DEFAULT_REGION]eu-west-2"
4545
echo "##vso[task.setvariable variable=APIGEE_ENVIRONMENT]internal-dev"
4646
displayName: Set AWS default region and Terraform state bucket
47-
47+
4848
- bash: |
4949
export AWS_PROFILE=apim-dev
5050
account_id="$(aws sts get-caller-identity --query Account --output text)"

azure/templates/post-deploy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ steps:
6060
echo pr_no: $pr_no
6161
6262
cd terraform
63-
64-
6563
make init
6664
make apply environment=${{ parameters.aws_account_type }} sub_environment=$workspace
6765

mns_subscription/src/mns_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ def check_subscription(self) -> dict:
9090
logging.error(f"Error ensuring subscription: {e}")
9191
raise
9292

93-
def delete_subscription(self, subscription_id: str) -> bool:
93+
def delete_subscription(self, subscription_id: str) -> str:
9494
"""Delete the subscription by ID."""
9595
url = f"{MNS_URL}/{subscription_id}"
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}")
9999
print(f"{response.text}")
100-
return "Subscription Succesfully Deleted..."
100+
return "Subscription Successfully Deleted..."
101101
else:
102102
MnsService.handle_response(response)
103103

0 commit comments

Comments
 (0)