mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Analytics: Enable grafana and plugin update checks to be operated independently (#46352)
* add separate cfg for controlling plugin update checks * https * add specific version note to docs * pr feedback * fixup
This commit is contained in:
@@ -28,7 +28,7 @@ type GrafanaService struct {
|
||||
|
||||
func ProvideGrafanaService(cfg *setting.Cfg) *GrafanaService {
|
||||
return &GrafanaService{
|
||||
enabled: cfg.CheckForUpdates,
|
||||
enabled: cfg.CheckForGrafanaUpdates,
|
||||
grafanaVersion: cfg.BuildVersion,
|
||||
httpClient: http.Client{Timeout: 10 * time.Second},
|
||||
log: log.New("grafana.update.checker"),
|
||||
|
||||
Reference in New Issue
Block a user