From eb365fb6f3987855b7d2a1202b52fba9ebba326f Mon Sep 17 00:00:00 2001 From: haoyann <1064645534@qq.com> Date: Mon, 26 Apr 2021 11:13:23 +0800 Subject: [PATCH] `cni.md` format code (#443) Co-authored-by: yanhao --- concepts/cni.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/concepts/cni.md b/concepts/cni.md index 039801228..34ca9e26c 100644 --- a/concepts/cni.md +++ b/concepts/cni.md @@ -9,9 +9,9 @@ Kubernetes 源码的 `vendor/github.com/containernetworking/cni/libcni` 目录 CNI 的接口中包括以下几个方法: ```go -type CNI interface {AddNetworkList (net *NetworkConfigList, rt *RuntimeConf) (types.Result, error) +type CNI interface { + AddNetworkList (net *NetworkConfigList, rt *RuntimeConf) (types.Result, error) DelNetworkList (net *NetworkConfigList, rt *RuntimeConf) error - AddNetwork (net *NetworkConfig, rt *RuntimeConf) (types.Result, error) DelNetwork (net *NetworkConfig, rt *RuntimeConf) error }