Merge pull request #1720 from ilknarf/master

remove redundant Sprintf
This commit is contained in:
Erik Wilson 2020-05-04 20:50:58 -07:00 committed by GitHub
commit 39c3854648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",
},