containernetworking / plugins

Some reference and example networking plugins, maintained by the CNI team.
Apache License 2.0
2.18k stars 777 forks source link

[tuning] return err during fail scenario of restoreBackup #917

Closed tariq1890 closed 1 year ago

tariq1890 commented 1 year ago

Minor bug I noticed when working on the tx queue len PR. If we fail to retrieve the link details when creating a backup for it we should pass the errors back up the call stack

Additional changes: Removed redundant paraentheses and type conversions