summaryrefslogtreecommitdiffstats
path: root/resources/transform.go
diff options
context:
space:
mode:
Diffstat (limited to 'resources/transform.go')
-rw-r--r--resources/transform.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/transform.go b/resources/transform.go
index 7793d3e0e..354a20eec 100644
--- a/resources/transform.go
+++ b/resources/transform.go
@@ -290,7 +290,7 @@ func (r *resourceAdapter) publish() {
r.publisherErr = r.target.Publish()
if r.publisherErr != nil {
- r.spec.Logger.ERROR.Printf("Failed to publish Resource: %s", r.publisherErr)
+ r.spec.Logger.Errorf("Failed to publish Resource: %s", r.publisherErr)
}
})
@@ -546,7 +546,7 @@ func (r *resourceAdapter) initTransform(publish, setContent bool) {
if r.spec.ErrorSender != nil {
r.spec.ErrorSender.SendError(r.transformationsErr)
} else {
- r.spec.Logger.ERROR.Printf("Transformation failed: %s", r.transformationsErr)
+ r.spec.Logger.Errorf("Transformation failed: %s", r.transformationsErr)
}
}
})