* 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:
1 parent
98c540ce8a
commit
1a711659f5
1 file changed
+5
-1
@@ -43,7 +43,11 @@ type datasourceInfo struct {
|
||||
type DsAccess string
|
||||
|
||||
func init() {
|
||||
registry.Register(®istry.Descriptor{Instance: &Service{}})
|
||||
registry.Register(®istry.Descriptor{
|
||||
Name: "OpenTSDBService",
|
||||
InitPriority: registry.Low,
|
||||
Instance: &Service{},
|
||||
})
|
||||
}
|
||||
|
||||
func (s *Service) Init() error {
|
||||
|
||||
Reference in new issue
Block a user