Skip to content

Commit 7b8f379

Browse files
author
Ricardo Kirkner
committed
Initial support for setting autoscaling configuration for environment
1 parent 5dd0a3b commit 7b8f379

File tree

4 files changed

+797
-1
lines changed

4 files changed

+797
-1
lines changed

src/Application.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ protected function getCommands()
126126
$commands[] = new Command\Auth\BrowserLoginCommand();
127127
$commands[] = new Command\Auth\VerifyPhoneNumberCommand();
128128
$commands[] = new Command\Autoscaling\AutoscalingSettingsGetCommand();
129+
$commands[] = new Command\Autoscaling\AutoscalingSettingsSetCommand();
129130
$commands[] = new Command\BlueGreen\BlueGreenConcludeCommand();
130131
$commands[] = new Command\BlueGreen\BlueGreenDeployCommand();
131132
$commands[] = new Command\BlueGreen\BlueGreenEnableCommand();

src/Command/Autoscaling/AutoscalingSettingsGetCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
3737
{
3838
$this->validateInput($input);
3939
if (!$this->api()->supportsAutoscaling($this->getSelectedProject())) {
40-
$this->stdErr->writeln(sprintf('The autoscaling API is not enabled for the project %s.', $this->api()->getProjectLabel($this->getSelectedProject(), 'comment')));
40+
$this->stdErr->writeln(sprintf('The autoscaling feature is not enabled for the project %s.', $this->api()->getProjectLabel($this->getSelectedProject(), 'comment')));
4141
return 1;
4242
}
4343

0 commit comments

Comments
 (0)