New ๐ŸŒŠ wave for @helm

Commit a8c31ad5

a8c31ad5f254Merged

Dmitriy Zhilyaev <[email protected]> ยท 2 years ago ยท 1 file ยท ~1 modified

Description

feat: 3way-merge

Details

Commit
a8c31ad5f254
Parent
01a3137e5a90

pkg/action/diff_live.gomodifiedView file

@@ -12,9 +12,8 @@
1212
1313 // DiffLive is a struct for running 'diff live' command.
1414 type DiffLive struct {
15- diff *Diff
16- plandir string
17- ThreeWayMerge bool
15+ diff *Diff
16+ plandir string
1817 }
1918
2019 // Run is the main function for 'diff live' command.
@@ -28,7 +27,7 @@
2827 return os.ErrNotExist
2928 }
3029
31- p.DiffLive(ctx, d.diff.Options, d.ThreeWayMerge)
30+ p.DiffLive(ctx, d.diff.Options, d.diff.ThreeWayMerge)
3231
3332 return nil
3433 }
@@ -47,6 +46,6 @@
4746 func (d *DiffLive) flags() []cli.Flag {
4847 return []cli.Flag{
4948 flagPlandir(&d.plandir),
50- flagDiffThreeWayMerge(&d.ThreeWayMerge),
49+ flagDiffThreeWayMerge(&d.diff.ThreeWayMerge),
5150 }
5251 }