Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MachineAlreadyExistsError message in Lab.new_machine() #221

Closed
tcaiazzi opened this issue May 26, 2023 · 0 comments
Closed

Fix MachineAlreadyExistsError message in Lab.new_machine() #221

tcaiazzi opened this issue May 26, 2023 · 0 comments
Assignees
Milestone

Comments

@tcaiazzi
Copy link
Member

The error message in the MachineAlreadyExistsError exception at line 227 in Lab.py file contains an incorrect argument.

raise MachineAlreadyExistsError(f"Device {name} already in the network scenario.")

To fix this, update the error message to only include the device name as the argument for MachineAlreadyExistsError.

This ensures that the error message provides accurate information when a machine already exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants