Skip to content

Commit

Permalink
smol fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzag committed Jul 19, 2023
1 parent 24ccecf commit 7568ed5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/aws_caching_action_.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: AWS Caching
on:
repository_dispatch:
types: aws-caching-action-trigger
types: aws-caching-action-trigger-

jobs:
aws-caching-trigger:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/az_caching_action_.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: AZ Caching
on:
repository_dispatch:
types: az-caching-action-trigger
types: az-caching-action-trigger-

jobs:
az_caching:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gcp_caching_action_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: GCP Caching

on:
repository_dispatch:
types: gcp-caching-action-trigger
types: gcp-caching-action-trigger-

jobs:
gcp-caching-trigger:
Expand Down
8 changes: 0 additions & 8 deletions web/mongo_handler/mongo_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1054,14 +1054,6 @@ def delete_file(file_id):
fs.delete(file_id)


def insert_deployment_yaml(deployment_yaml_object: dict):
try:
deployment_yamls.insert_one(deployment_yaml_object)
return True
except:
return False


def update_user_profile_image_id(user_email: str, grid_file_id: ObjectId):
mongo_query = {USER_EMAIL.lower(): user_email}
existing_user_object = users.find_one(mongo_query)
Expand Down

0 comments on commit 7568ed5

Please sign in to comment.