You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filter autoscaling service list to only show supported services
Improve the interactive autoscaling configuration UX by pre-filtering the service list to only show services that support horizontal scaling.
This prevents users from selecting services that will fail validation, providing a cleaner and more intuitive experience.
$this->stdErr->writeln(sprintf('No autoscaling configuration found for the project %s, environment %s.', $this->api()->getProjectLabel($this->getSelectedProject()), $this->api()->getEnvironmentLabel($environment)));
77
+
$isOriginalCommand = $inputinstanceof ArgvInput;
78
+
if ($isOriginalCommand) {
79
+
$this->stdErr->writeln('');
80
+
$this->stdErr->writeln(sprintf('You can configure autoscaling by running: <info>%s autoscaling:set</info>', $this->config()->get('application.executable')));
81
+
}
82
+
return0;
83
+
}
84
+
71
85
/** @var Table $table */
72
86
$table = $this->getService('table');
73
87
@@ -81,7 +95,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
0 commit comments