Add deprecation note about the unofficial first version of backend plugins (#24675)

This commit is contained in:
Marcus Efraimsson
2020-05-14 15:37:44 +02:00
committed by GitHub
parent 01bbcf4eea
commit 0c8ee5b2c9
3 changed files with 3 additions and 2 deletions

View File

@@ -98,6 +98,8 @@ func (p *BackendPlugin) start(ctx context.Context) error {
}
}
} else {
p.logger.Warn("Plugin uses a deprecated version of Grafana's backend plugin system which will be removed in a future release. " +
"Consider upgrading to a newer plugin version or reach out to the plugin repository/developer and request an upgrade.")
raw, err := rpcClient.Dispense(p.id)
if err != nil {
return err