Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/Command/Resources/Build/BuildResourcesGetCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,14 @@ protected function execute(InputInterface $input, OutputInterface $output)
{
$this->validateInput($input);
if (!$this->api()->supportsSizingApi($this->getSelectedProject())) {
$this->stdErr->writeln(sprintf('The flexible resources API is not enabled for the project %s.', $this->api()->getProjectLabel($this->getSelectedProject(), 'comment')));
$this->stdErr->writeln(
sprintf(
'The flexible resources API is not enabled for the project %s.\n
The function you attempted to use is not available on fixed plans.\n
Please refer to the Fixed documentation: https://fixed.docs.upsun.com/

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll have to make this conditional on a 'fixed' docs link being configured in config.yaml (as it's affected by white labels).

', $this->api()->getProjectLabel($this->getSelectedProject(), 'comment')
)
);
return 1;
}

Expand Down
Loading