Merge pull request #234427 from alyssais/create_machine

nixos/test-driver: undeprecate create_machine
This commit is contained in:
Jacek Galowicz 2023-05-27 17:02:11 +02:00 committed by GitHub
commit 3580ac6c65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,11 +163,6 @@ class Driver:
machine.wait_for_shutdown()
def create_machine(self, args: Dict[str, Any]) -> Machine:
rootlog.warning(
"Using legacy create_machine(), please instantiate the"
"Machine class directly, instead"
)
tmp_dir = get_tmp_dir()
if args.get("startCommand"):