mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 21:42:37 +08:00
Advisor: Ensure User-Agent header is set for checks (#105122)
This commit is contained in:

committed by
GitHub

parent
0978ec5e91
commit
8ef8185379
@ -17,7 +17,7 @@ type Service interface {
|
||||
// PluginVersion will return plugin version based on the requested information.
|
||||
PluginVersion(ctx context.Context, pluginID, version string, compatOpts CompatOpts) (VersionData, error)
|
||||
// PluginInfo will return generic plugin information from grafana.com/api/plugins.
|
||||
PluginInfo(ctx context.Context, pluginID string) (*PluginInfo, error)
|
||||
PluginInfo(ctx context.Context, pluginID string, compatOpts CompatOpts) (*PluginInfo, error)
|
||||
}
|
||||
|
||||
type CompatOpts struct {
|
||||
|
Reference in New Issue
Block a user