Commit 7f40dc53 by Sofia Papagiannaki Committed by GitHub

Image rendering: Add deprecation warning when PhantomJS is used for rendering images (#18933)

* Add deprecation warning

* Update pkg/services/rendering/rendering.go

Co-Authored-By: Marcus Efraimsson <marcus.efraimsson@gmail.com>
parent 7d9f6d96
......@@ -68,6 +68,8 @@ func (rs *RenderingService) Run(ctx context.Context) error {
if plugins.Renderer == nil {
rs.log.Info("Backend rendering via phantomJS")
rs.log.Warn("phantomJS is deprecated and will be removed in a future release. " +
"You should consider migrating from phantomJS to grafana-image-renderer plugin.")
rs.renderAction = rs.renderViaPhantomJS
<-ctx.Done()
return nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment