File tree Expand file tree Collapse file tree
base/cvd/cuttlefish/host/commands/cvd/cli/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -343,12 +343,13 @@ Result<void> CvdStartCommandHandler::Handle(const CommandRequest& request) {
343343 auto [instance, group] =
344344 CF_EXPECT (selector::SelectInstance (instance_manager_, request));
345345
346- auto config_path =
347- group.AssemblyDir () + " /cuttlefish_config.json " ;
348- if ( FileExists (config_path)) {
349- return LaunchSingleInstance (instance, group, request) ;
346+ if (instance. State () == cvd:: INSTANCE_STATE_STOPPED &&
347+ group.StartTime () != TimeStamp{}) {
348+ CF_EXPECT ( LaunchSingleInstance (instance, group, request));
349+ return {} ;
350350 } else {
351- LOG (INFO ) << " Group configuration does not exist on disk. Proceeding with normal group start." ;
351+ VLOG (1 ) << " Instance is not in stopped state. Proceeding with "
352+ " normal group start." ;
352353 }
353354 }
354355
You can’t perform that action at this time.
0 commit comments