lib/bosh/stemcell/archive_filename.rb in bosh-stemcell-1.5.0.pre.1374 vs lib/bosh/stemcell/archive_filename.rb in bosh-stemcell-1.5.0.pre.1376
- old
+ new
@@ -10,13 +10,17 @@
@agent_name = agent_name
end
# rubocop:enable ParameterLists
def to_s
- stemcell_filename_parts = [name, version, infrastructure.name, infrastructure.hypervisor, operating_system.name]
-
+ stemcell_filename_parts = [
+ name,
+ version,
+ infrastructure.name,
+ infrastructure.hypervisor,
+ operating_system.name,
+ ]
stemcell_filename_parts << "#{agent_name}_agent" unless agent_name == 'ruby'
-
"#{stemcell_filename_parts.join('-')}.tgz"
end
private