Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def self.get_avd_schemes(params)
avd_scheme.launch_avd_launch_binary_name = avd_hash['launch_avd_launch_binary_name']
avd_scheme.launch_avd_additional_options = avd_hash['launch_avd_additional_options']
avd_scheme.launch_avd_snapshot_filepath = avd_hash['launch_avd_snapshot_filepath']
avd_scheme.create_avd_additional_options = avd_hash['create_avd_additional_options']

errors = check_avd_fields(avd_scheme)
unless errors.empty?
Expand Down Expand Up @@ -148,6 +149,9 @@ def self.check_avd_fields(avd_scheme)
if avd_scheme.create_avd_hardware_config_filepath.nil?
errors.push("create_avd_hardware_config_filepath not found")
end
if avd_scheme.launch_avd_additional_options.nil?
errors.push("launch_avd_additional_options not found")
end
if avd_scheme.launch_avd_snapshot_filepath.nil?
errors.push("launch_avd_snapshot_filepath not found")
end
Expand All @@ -169,4 +173,4 @@ def self.throw_error(message)
end
end
end
end
end