diff --git a/builder/deps.go b/builder/deps.go index beecb2b..af1c166 100644 --- a/builder/deps.go +++ b/builder/deps.go @@ -14,7 +14,7 @@ type Deps struct { Path string } -// Write deps file. +// Write deps section. func (b *Deps) Write(writer io.Writer) (err error) { input, err := b.read() if err != nil { diff --git a/builder/issue.go b/builder/issue.go index 704e6ec..db21ecc 100644 --- a/builder/issue.go +++ b/builder/issue.go @@ -31,7 +31,7 @@ func (b *Issues) RuleError() (r *RuleError) { return &b.ruleErr } -// Write issues file. +// Write issues section. func (b *Issues) Write(writer io.Writer) (err error) { input, err := b.read() if err != nil { diff --git a/builder/manifest.go b/builder/manifest.go index c258224..86a55cc 100644 --- a/builder/manifest.go +++ b/builder/manifest.go @@ -25,14 +25,14 @@ func (m *Manifest) Write() (err error) { defer func() { _ = file.Close() }() - _, _ = file.Write([]byte(api.BeginAnalysisMarker)) + _, _ = file.Write([]byte(api.BeginMainMarker)) _, _ = file.Write([]byte{'\n'}) encoder := yaml.NewEncoder(file) err = encoder.Encode(m.Analysis) if err != nil { return } - _, _ = file.Write([]byte(api.EndAnalysisMarker)) + _, _ = file.Write([]byte(api.EndMainMarker)) _, _ = file.Write([]byte{'\n'}) err = m.Issues.Write(file) if err != nil { diff --git a/go.mod b/go.mod index 174ac5e..2314dfa 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed ) -replace github.com/konveyor/tackle2-hub => github.com/jortel/tackle2-hub v0.0.0-20240812162716-6b52211f2ed6 +replace github.com/konveyor/tackle2-hub => github.com/jortel/tackle2-hub v0.0.0-20240812164957-d159aa3f74b2 require ( github.com/Nerzal/gocloak/v10 v10.0.1 // indirect diff --git a/go.sum b/go.sum index 95f87c5..19f6be3 100644 --- a/go.sum +++ b/go.sum @@ -128,8 +128,8 @@ github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/jortel/go-utils v0.1.2 h1:R0TcGRCcwoL793CymcKC5AF9idWXT2cR6eQ2xpBUsoI= github.com/jortel/go-utils v0.1.2/go.mod h1:sl6vav63ODI0sUfSz8e0pImNmCVFnVsuOFhZmwe9GDk= -github.com/jortel/tackle2-hub v0.0.0-20240812162716-6b52211f2ed6 h1:cMZJtQy8fXh7qOniKYjZk1Ue2OHCIXLiXjQR8+MczDM= -github.com/jortel/tackle2-hub v0.0.0-20240812162716-6b52211f2ed6/go.mod h1:5c5A3i/oARdUp1yo+iYJFFvsIlsbsVGBZT7/CQji9YY= +github.com/jortel/tackle2-hub v0.0.0-20240812164957-d159aa3f74b2 h1:MrjgmH8RFPuxzKd2ljRcjXbllE5Or6zxHgYhD1nltjY= +github.com/jortel/tackle2-hub v0.0.0-20240812164957-d159aa3f74b2/go.mod h1:5c5A3i/oARdUp1yo+iYJFFvsIlsbsVGBZT7/CQji9YY= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=