Skip to content

Commit 5436f54

Browse files
authored
Merge pull request #88 from cthorn42/maint/master/no_config_file_non_vmpooler_service_fix
(maint) Fix using ABS service without a .vmfloaty.yml file
2 parents b944760 + 7015348 commit 5436f54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/vmfloaty/utils.rb

+3
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ def self.get_service_config(config, options)
206206
# If the service is configured but some values are missing, use the top-level defaults to fill them in
207207
service_config.merge! config['services'][options.service]
208208
end
209+
# No config file but service is declared on command line
210+
elsif !config['services'] && options.service
211+
service_config['type'] = options.service
209212
end
210213

211214
# Prioritize an explicitly specified url, user, or token if the user provided one

0 commit comments

Comments
 (0)