提交 2f3094d3 编写于 作者: T Thomas Stromberg

simplify string output

上级 d16e7d49
......@@ -54,7 +54,7 @@ type Bridge struct {
// String returns a string representation of this CNI
func (c Bridge) String() string {
return "Bridge CNI"
return "bridge CNI"
}
func (c Bridge) netconf() (assets.CopyableFile, error) {
......
......@@ -17,7 +17,6 @@ limitations under the License.
package cni
import (
"fmt"
"os"
"path"
......@@ -34,7 +33,7 @@ type Custom struct {
// String returns a string representation of this CNI
func (c Custom) String() string {
return fmt.Sprintf("Custom (%s)", c.manifest)
return c.manifest
}
// NewCustom returns a well-formed Custom CNI manager
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册