mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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>
This commit is contained in:
parent
7d9f6d96fc
commit
7f40dc5317
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user