Skip to content

Commit

Permalink
Merge pull request #101 from zianazhao/master
Browse files Browse the repository at this point in the history
bugfix
  • Loading branch information
zero3233 authored Apr 10, 2023
2 parents 5271f6c + d92fcbc commit 807623e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/collector/handler_dcg.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (h *DcgHandler) IsMetricVaild(m *metric.TcmMetric) bool {
}

func NewDcgHandler(cred common.CredentialIface, c *TcProductCollector, logger log.Logger) (handler ProductHandler, err error) {
handler = &tdmqHandler{
handler = &DcgHandler{
baseProductHandler: baseProductHandler{
monitorQueryKey: DcgInstanceidKey,
collector: c,
Expand Down
2 changes: 1 addition & 1 deletion pkg/collector/handler_vpngw.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (h *VpngwHandler) IsMetricVaild(m *metric.TcmMetric) bool {
}

func NewVpngwHandler(cred common.CredentialIface, c *TcProductCollector, logger log.Logger) (handler ProductHandler, err error) {
handler = &tdmqHandler{
handler = &VpngwHandler{
baseProductHandler: baseProductHandler{
monitorQueryKey: VpngwInstanceidKey,
collector: c,
Expand Down
2 changes: 1 addition & 1 deletion pkg/collector/handler_vpnx.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (h *VpnxHandler) IsMetricVaild(m *metric.TcmMetric) bool {
}

func NewVpnxHandler(cred common.CredentialIface, c *TcProductCollector, logger log.Logger) (handler ProductHandler, err error) {
handler = &tdmqHandler{
handler = &VpnxHandler{
baseProductHandler: baseProductHandler{
monitorQueryKey: VpnxInstanceidKey,
collector: c,
Expand Down

0 comments on commit 807623e

Please sign in to comment.