You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an lconfig command is issued with as parameter a non existent machine, Kathará throws an exception instead of an error
Steps To Reproduce
Get a Kathará lab
Run the Kathará lab with kathara lstart
Try to add an interface to a non existing machine kathara lconfig -n non_existing_machine --add A
You will get this error CRITICAL - (AttributeError) 'NoneType' object has no attribute 'reload'
Expected Behavior
Kathará should give a proper error.
Check Command Output
* Current Manager is: Docker (Kathara)
* Manager version is: 24.0.6
* Python version is: 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)]
* Kathara version is: 3.7.0
* Operating System version is: macOS-14.1.1-arm64-arm-64bit
* Trying to run `Hello World` container...
Deploying devices...|########################################################################################################| 1/1* Container run successfully.
Deleting devices...|#########################################################################################################| 1/1
The text was updated successfully, but these errors were encountered:
Operating System
MacOS 14.1.1
Kathará Version
3.7.0
Bug Description
If an
lconfig
command is issued with as parameter a non existent machine, Kathará throws an exception instead of an errorSteps To Reproduce
kathara lstart
kathara lconfig -n non_existing_machine --add A
You will get this error
CRITICAL - (AttributeError) 'NoneType' object has no attribute 'reload'
Expected Behavior
Kathará should give a proper error.
Check Command Output
The text was updated successfully, but these errors were encountered: