console
console copied to clipboard
Set specifications only for cloud
What does this PR do?
Only pass specifications if on cloud
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)
Summary by CodeRabbit
- Bug Fixes
- Improved compatibility for self-hosted/non-cloud environments by omitting unsupported āspecificationā data during Function and Site creation/updates. Applies to create flows (deploy, manual, repo, template) and settings updates (build, runtime, events, logging, name, permissions, scopes, schedule, resource limits, timeout, repository). Reduces errors and unexpected behavior outside cloud deployments.
- Chores
- Standardized payload handling across Function and Site settings to respect cloud vs. non-cloud contexts.