Skip to content

Commit

Permalink
Comment out lock_resources logic
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-seals committed May 14, 2024
1 parent b168241 commit a3dbda7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions appstore/api/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ def parse_spec_resources(app_id, spec, app_data):
reservations = resource_scope["reservations"]
# If lock-resources is set to True, the reservations and limits should
# be equal.
lock_resources = app_data.get("lock-resources", False)
if lock_resources:
limits = reservations
# lock_resources = app_data.get("lock-resources", False)
# if lock_resources:
# limits = reservations
return limits, reservations
except KeyError:
logger.error(f"Could not parse {app_id}.\nInvalid spec {spec}")
Expand Down

0 comments on commit a3dbda7

Please sign in to comment.