Commit ab0b7dae
ab0b7dae0546Merged
zhiliaev <[email protected]> · 4 years ago · 23 files · ~23 modified
Description
fix: golint
Details
- Commit
- ab0b7dae0546
- Parent
- 58ddcaa0a7dc
pkg/action/build.gomodifiedView file
@@ -32,15 +32,16 @@
3232
)3333
3434
// Run is main function for 'build' CLI command.35-
func (i *Build) Run() error {35+
func (i *Build) Run() (err error) {3636
if i.autoYml {37-
if err := i.yml.Run(); err != nil {37+
err = i.yml.Run()38+
if err != nil {3839
return err3940
}4041
}4142
4243
newPlan := plan.New(i.plandir)43-
err := newPlan.Build(i.yml.file, i.normalizeTags(), i.matchAll, i.yml.templater)44+
err = newPlan.Build(i.yml.file, i.normalizeTags(), i.matchAll, i.yml.templater)4445
if err != nil {4546
return err4647
}@@ -90,6 +91,7 @@
9091
}9192
}9293
94+
// flags return flag set of CLI urfave.9395
func (i *Build) flags() []cli.Flag {9496
// Init sub-structures9597
i.yml = &Yml{}@@ -116,6 +118,7 @@
116118
return self117119
}118120
121+
// normalizeTags is wrapper for normalizeTagList.119122
func (i *Build) normalizeTags() []string {120123
return normalizeTagList(i.tags.Value())121124
}pkg/action/diff.gomodifiedView file
Loading diff…
pkg/action/diff_live.gomodifiedView file
Loading diff…
pkg/action/diff_plan.gomodifiedView file
Loading diff…
pkg/action/down.gomodifiedView file
Loading diff…
pkg/action/down_internal_test.gomodifiedView file
Loading diff…
pkg/action/flags.gomodifiedView file
Loading diff…
pkg/action/list.gomodifiedView file
Loading diff…
pkg/action/rollback.gomodifiedView file
Loading diff…
pkg/action/status.gomodifiedView file
Loading diff…
pkg/action/status_internal_test.gomodifiedView file
Loading diff…
pkg/action/up.gomodifiedView file
Loading diff…
pkg/action/validate.gomodifiedView file
Loading diff…
pkg/plan/apply.gomodifiedView file
Loading diff…
pkg/plan/build_repos_internal_test.gomodifiedView file
Loading diff…
pkg/plan/build_values_internal_test.gomodifiedView file
Loading diff…
pkg/plan/export_internal_test.gomodifiedView file
Loading diff…
pkg/plan/new.gomodifiedView file
Loading diff…
pkg/plan/new_export_test.gomodifiedView file
Loading diff…
pkg/registry/config.gomodifiedView file
Loading diff…
pkg/release/config.gomodifiedView file
Loading diff…
pkg/repo/config.gomodifiedView file
Loading diff…
pkg/repo/install.gomodifiedView file
Loading diff…