mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
makes datasource handshake more explicit
This commit is contained in:
parent
44e485af41
commit
dbd1ba465f
@ -62,8 +62,8 @@ func (p *DataSourcePlugin) Load(decoder *json.Decoder, pluginDir string) error {
|
|||||||
|
|
||||||
var handshakeConfig = plugin.HandshakeConfig{
|
var handshakeConfig = plugin.HandshakeConfig{
|
||||||
ProtocolVersion: 1,
|
ProtocolVersion: 1,
|
||||||
MagicCookieKey: "GRAFANA_BACKEND_DATASOURCE",
|
MagicCookieKey: "grafana_plugin_type",
|
||||||
MagicCookieValue: "55d2200a-6492-493a-9353-73b728d468aa",
|
MagicCookieValue: "datasource",
|
||||||
}
|
}
|
||||||
|
|
||||||
func buildExecutablePath(pluginDir, executable, os, arch string) string {
|
func buildExecutablePath(pluginDir, executable, os, arch string) string {
|
||||||
|
Loading…
Reference in New Issue
Block a user