New ๐ŸŒŠ wave for @helm

Commit acfbdd0e

acfbdd0e84d0Merged

zhilyaev <[email protected]> ยท 5 years ago ยท 1 file ยท ~1 modified

Description

private yml

Details

Commit
acfbdd0e84d0
Parent
6ec7ebce14e4

pkg/action/yml.gomodifiedView file

@@ -6,12 +6,12 @@
66 )
77
88 type Yml struct {
9- From string
10- To string
9+ from string
10+ to string
1111 }
1212
1313 func (i *Yml) Run() error {
14- return template.Tpl2yml(i.From, i.To, nil)
14+ return template.Tpl2yml(i.from, i.to, nil)
1515 }
1616
1717 func (i *Yml) Cmd() *cli.Command {
@@ -24,7 +24,7 @@
2424 Value: "helmwave.yml.tpl",
2525 Usage: "Main tpl file",
2626 EnvVars: []string{"HELMWAVE_TPL_FILE"},
27- Destination: &i.From,
27+ Destination: &i.from,
2828 },
2929 &cli.StringFlag{
3030 Name: "file",
@@ -32,7 +32,7 @@
3232 Value: "helmwave.yml",
3333 Usage: "Main yml file",
3434 EnvVars: []string{"HELMWAVE_FILE", "HELMWAVE_YAML_FILE", "HELMWAVE_YML_FILE"},
35- Destination: &i.To,
35+ Destination: &i.to,
3636 },
3737 },
3838 Action: toCtx(i.Run),