-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libnetwork/cni: split option paring into separate function
The gocyclo linter is complaining that the cyclomatic complexity is to high for `(*cniNetwork).createCNIConfigListFromNetwork()`. Split out option parsing to a new funtion should reduce the complexity. Signed-off-by: Paul Holzinger <[email protected]>
- Loading branch information
Showing
1 changed file
with
51 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters