From a18d94e5f9f67508bcd162f8722c710e1d5401f4 Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 30 Apr 2020 10:48:12 -0500 Subject: [PATCH] remove redundant Sprintf --- pkg/cli/cmds/server.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/cli/cmds/server.go b/pkg/cli/cmds/server.go index 2cda615cfb..66ce021c03 100644 --- a/pkg/cli/cmds/server.go +++ b/pkg/cli/cmds/server.go @@ -1,8 +1,6 @@ package cmds import ( - "fmt" - "github.com/urfave/cli" ) @@ -115,7 +113,7 @@ func NewServerCommand(action func(*cli.Context) error) cli.Command { }, cli.StringFlag{ Name: "flannel-backend", - Usage: fmt.Sprintf("(networking) One of 'none', 'vxlan', 'ipsec', 'host-gw', or 'wireguard'"), + Usage: "(networking) One of 'none', 'vxlan', 'ipsec', 'host-gw', or 'wireguard'", Destination: &ServerConfig.FlannelBackend, Value: "vxlan", },