Skip to content

Commit

Permalink
Merge pull request #65 from briandowns/issue-64
Browse files Browse the repository at this point in the history
update flag value parse logic
  • Loading branch information
briandowns authored Jul 8, 2020
2 parents 1dd8d99 + a1f79f4 commit 4da4529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rke2/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func setup(ctx *cli.Context, cfg Config) error {
for _, f := range ctx.App.Flags {
switch t := f.(type) {
case cli.StringFlag:
if t.Name == "profile" {
if t.Name == "profile" && t.Destination != nil && *t.Destination != "" {
sp.CISMode = true
}
default:
Expand Down

0 comments on commit 4da4529

Please sign in to comment.