Skip to content
Snippets Groups Projects
Commit e8875ae2 authored by Malte Bauch's avatar Malte Bauch
Browse files

Fix: Cleanup of plugins after failed mne creation returned faulty errors

Typos in combination with copy paste resulted in the return of faulty
error messages after cleaning up plugins in the `addMne` method of
`controller/northbound/server/networkelement.go`.

The clean up of plugins after something went wrong while creating a
managed network element, has been moved into a `defer` function. So if
an error is thrown and a plugin has already been created and started,
the defer function will stop the plugin and remove the corresponding
files.
parent fd6542d5
No related branches found
No related tags found
1 merge request!618Resolve "Failed network element creation leads to the return of false error messages"
Pipeline #169385 passed
This commit is part of merge request !618. Comments created here will be created in the context of that merge request.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment