Skip to content

Commit 289797f

Browse files
committed
fix comments
1 parent b42f51b commit 289797f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/actions/deployment_create.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def create(app:, user_audit_info:, message:)
1313
DeploymentModel.db.transaction do
1414
app.lock!
1515

16-
# Stopped apps will have quota validated since we their process up immediately
16+
# Stopped apps will have quota validated since we scale their process up immediately later
1717
validate_quota!(message, app) unless app.stopped?
1818

1919
message.strategy ||= DeploymentModel::ROLLING_STRATEGY

app/messages/deployment_create_message.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ def validate_options
8383
disallowed_keys = options.keys - ALLOWED_OPTION_KEYS
8484
errors.add(:options, "has unsupported key(s): #{disallowed_keys.join(', ')}") if disallowed_keys.present?
8585
validate_scaling_options
86-
# validate_web_instances if options[:web_instances]
8786
validate_max_in_flight if options[:max_in_flight]
8887
validate_canary if options[:canary]
8988
end

0 commit comments

Comments
 (0)