Skip to content
Snippets Groups Projects
Commit 977f0c7d0699 authored by Florent Aide's avatar Florent Aide
Browse files

build: CmdConfig mixed value and pointer receivers, fixed

parent 199096e16cdb
No related branches found
No related tags found
No related merge requests found
Pipeline #42079 passed
......@@ -261,7 +261,7 @@
Output string
}
func (c CmdConfig) HasShas() bool {
func (c *CmdConfig) HasShas() bool {
return len(c.Spec.Shas) > 0
}
......@@ -265,7 +265,7 @@
return len(c.Spec.Shas) > 0
}
func (c CmdConfig) SetShas(buildDir string) error {
func (c *CmdConfig) SetShas(buildDir string) error {
for _, sha := range c.Spec.Shas {
if err := sha.SetSha(buildDir); err != nil {
return err
......@@ -299,7 +299,7 @@
type Ytt []string
func (c CmdConfig) BuildYttArgs(paths, compiled []string) []string {
func (c *CmdConfig) BuildYttArgs(paths, compiled []string) []string {
// ytt -f $chartsTmpFile --file-mark "$(basename $chartsTmpFile):type=yaml-plain"\
// -f base/ytt/ -f base/ytt.yml -f ns1/ytt/ -f ns1/ytt.yml
var args []string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment