We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d67834 commit 071f330Copy full SHA for 071f330
lib/OpenQA/Worker/Settings.pm
@@ -23,7 +23,8 @@ use constant VNCPORT_OFFSET => $ENV{VNCPORT_OFFSET} // 90;
23
sub new ($class, $instance_number = undef, $cli_options = {}) {
24
my $config_paths = lookup_config_files(undef, 'workers.ini', 1);
25
my $cfg = parse_config_files($config_paths);
26
- my @parse_errors = @$config_paths ? (@Config::IniFiles::errors) : ('No config file found.');
+ my @parse_errors = @$config_paths ? (@Config::IniFiles::errors) : ();
27
+ log_warning "[OpenQA::Worker::Settings] workers.ini not found, using default settings\n" unless @$config_paths;
28
29
# read settings from config
30
my %global_settings;
0 commit comments