lib/takeltau/ship/project/start.rb in takeltau-0.43.19 vs lib/takeltau/ship/project/start.rb in takeltau-0.43.21
- old
+ new
@@ -7,14 +7,10 @@
return false if _docker_container_lib_check_matrjoschka
return false if ship_container_check_existing
takelship = _ship_info_lib_get_takelshipinfo
-
- return false unless takelship.key? 'default_project'
-
- project = config.active['ship_default_project'] if project == 'default'
- project = takelship['default_project'] if project == 'default'
+ project = _ship_info_lib_get_project(project, takelship)
return false unless _ship_info_lib_valid_project? takelship, project
log.debug "Starting takelship project \"#{project}\""
ports = _ship_project_start_ports takelship, project