Merge pull request #1720 from ilknarf/master

remove redundant Sprintf
pull/1752/head
Erik Wilson 5 years ago committed by GitHub
commit 39c3854648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,8 +1,6 @@
package cmds package cmds
import ( import (
"fmt"
"github.com/urfave/cli" "github.com/urfave/cli"
) )
@ -120,7 +118,7 @@ func NewServerCommand(action func(*cli.Context) error) cli.Command {
}, },
cli.StringFlag{ cli.StringFlag{
Name: "flannel-backend", 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, Destination: &ServerConfig.FlannelBackend,
Value: "vxlan", Value: "vxlan",
}, },

Loading…
Cancel
Save