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

* Bug: Register OpenTSDB with correct service name

* USe Register instead of RegisterAndStart
This commit is contained in:
idafurjes 2021-08-23 14:56:53 +02:00 committed by GitHub
parent 6396f05320
commit 769b7a5865
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {