Skip to content

Commit

Permalink
pr comment remediation
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Downs <[email protected]>
  • Loading branch information
briandowns committed Jul 20, 2020
1 parent 50750cd commit a2679b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ require (
github.com/rancher/spur v0.0.0-20200617165101-8702c8e4ce7a
github.com/rancher/wrangler v0.6.1
github.com/sirupsen/logrus v1.4.2
github.com/urfave/cli v1.22.2
google.golang.org/grpc v1.26.0
k8s.io/api v0.18.0
k8s.io/apimachinery v0.18.0
Expand Down
5 changes: 2 additions & 3 deletions pkg/cli/cmds/k3sopts.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,8 @@ func flagSetDefault(flag cli.Flag, opt *K3SFlagOption) {
if v.CanSet() {
switch t := flag.(type) {
case *cli.StringFlag:
x := opt.Default
t.DefaultText = x
t.Destination = &x
t.DefaultText = opt.Default
t.Destination = &opt.Default
t.Value = opt.Default
case *cli.StringSliceFlag:
t.DefaultText = opt.Default
Expand Down

0 comments on commit a2679b4

Please sign in to comment.