|
@@ -92,7 +92,7 @@ func ({{.varname}} *{{.name}}) Configure(facts map[string]interface{}) error {
|
|
// Initialize resets the internal temporary data structures and prepares the object for Consume().
|
|
// Initialize resets the internal temporary data structures and prepares the object for Consume().
|
|
func ({{.varname}} *{{.name}}) Initialize(repository *git.Repository) error {
|
|
func ({{.varname}} *{{.name}}) Initialize(repository *git.Repository) error {
|
|
if {{.varname}}.l == nil {
|
|
if {{.varname}}.l == nil {
|
|
- l = hercules.NewLogger()
|
|
|
|
|
|
+ {{.varname}}.l = hercules.NewLogger()
|
|
}
|
|
}
|
|
{{.varname}}.OneShotMergeProcessor.Initialize()
|
|
{{.varname}}.OneShotMergeProcessor.Initialize()
|
|
return nil
|
|
return nil
|