File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
base/cvd/cuttlefish/host/commands/cvd/cli/selector Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -149,13 +149,10 @@ CreationAnalyzer::AnalyzeInstanceIdsInternal(bool acquire_file_locks) {
149149 " For now, cvd server always acquire the file locks "
150150 << " when IDs are automatically allocated." );
151151
152- const auto incremental = selector_options_parser_.UseCvdalloc ();
153152 // As this test was done earlier, this line must not fail
154153 const auto n_instances = selector_options_parser_.RequestedNumInstances ();
155154 auto acquired_all_file_locks =
156- incremental ? CF_EXPECT (instance_lock_file_manager_.AcquireUnusedLocks (
157- n_instances))
158- : CF_EXPECT (instance_lock_file_manager_.LockAllAvailable ());
155+ CF_EXPECT (instance_lock_file_manager_.AcquireUnusedLocks (n_instances));
159156 auto id_to_lockfile_map =
160157 ConstructIdLockFileMap (std::move (acquired_all_file_locks));
161158
You can’t perform that action at this time.
0 commit comments