Bug: Register OpenTSDB with correct service name (#37581) (#38450)

* Bug: Register OpenTSDB with correct service name

* USe Register instead of RegisterAndStart

(cherry picked from commit 769b7a5865)

Co-authored-by: idafurjes <36131195+idafurjes@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)andidafurjes authored and GitHub committed 2021-08-23 15:23:28 +02:00
1 parent 98c540ce8a
commit 1a711659f5
1 file changed
+5 -1
+5 -1
View File
@@ -43,7 +43,11 @@ type datasourceInfo struct {
type DsAccess string
func init() {
registry.Register(&registry.Descriptor{Instance: &Service{}})
registry.Register(&registry.Descriptor{
Name: "OpenTSDBService",
InitPriority: registry.Low,
Instance: &Service{},
})
}
func (s *Service) Init() error {