Browse Source

Merge pull request #1720 from ilknarf/master

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

4
pkg/cli/cmds/server.go

@ -1,8 +1,6 @@
package cmds
import (
"fmt"
"github.com/urfave/cli"
)
@ -120,7 +118,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",
},

Loading…
Cancel
Save