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,12 @@ 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+ CF_EXPECT (LaunchSingleInstance (instance, group, request));
348+ return {};
350349 } else {
351- LOG (INFO ) << " Group configuration does not exist on disk. Proceeding with normal group start." ;
350+ VLOG (1 ) << " Instance is not in stopped state. Proceeding with "
351+ " normal group start." ;
352352 }
353353 }
354354
You can’t perform that action at this time.
0 commit comments