Open jbemmel opened 5 days ago
Looked at this to just understand the flow for destroy.
a side effect of cmd.destroyFn() calling clab.NewContainerLab() to parse the topology is that clab.resolveBindPaths() eventually gets called.
clab.resolveBindPaths() kicks the error if os.stat() errors on the path.
yes, this needs to be addressed like a parameter to the NewContainerlab that would switch off validations. Destroy routine should set it
During
sudo clab destroy --cleanup -t lab.yml
:Such errors aren't critical when doing 'destroy', and shouldn't stop the process