diff --git a/app/pipeline/converter/jsonnet/jsonnet.go b/app/pipeline/converter/jsonnet/jsonnet.go index 4b8655278b..b2aabedd25 100644 --- a/app/pipeline/converter/jsonnet/jsonnet.go +++ b/app/pipeline/converter/jsonnet/jsonnet.go @@ -186,7 +186,7 @@ func mapBuild(v *types.Execution, vm *jsonnet.VM) { fromMap(v.Params, vm) } -// mapBuild populates repo level variables available to jsonnet templates. +// mapRepo populates repo level variables available to jsonnet templates. // Since we want to maintain compatibility with drone 2.x, the older format // needs to be maintained (even if the variables do not exist in gitness). func mapRepo(v *types.Repository, p *types.Pipeline, vm *jsonnet.VM, publicRepo bool) { diff --git a/app/pipeline/manager/manager.go b/app/pipeline/manager/manager.go index bb2f1bf023..4d40580428 100644 --- a/app/pipeline/manager/manager.go +++ b/app/pipeline/manager/manager.go @@ -458,7 +458,7 @@ func (m *Manager) AfterStep(_ context.Context, step *types.Step) error { return retErr } -// BeforeAll signals the build stage is about to start. +// BeforeStage signals the build stage is about to start. func (m *Manager) BeforeStage(_ context.Context, stage *types.Stage) error { s := &setup{ Executions: m.Executions, @@ -474,7 +474,7 @@ func (m *Manager) BeforeStage(_ context.Context, stage *types.Stage) error { return s.do(noContext, stage) } -// AfterAll signals the build stage is complete. +// AfterStage signals the build stage is complete. func (m *Manager) AfterStage(_ context.Context, stage *types.Stage) error { t := &teardown{ Executions: m.Executions,