Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generic plugin: reset interface on error
If error occures during sriov configuration in generic plugin, config daemon will log the error and requeue the request to reconcile the node. On the next run, when generic plugin Apply() method is called, interface configuration may be skipped, leaving the interface partially configured. To ensure generic plugin re-configures the interface on the next iteration, we reset the interface before returning an error. This will also ensure that a drain will be requested as well. Signed-off-by: Adrian Chiris <[email protected]>
- Loading branch information