Skip to content

Commit

Permalink
Add 'AgentId' field to SubscriptionStatus.
Browse files Browse the repository at this point in the history
  • Loading branch information
rossigee committed Aug 30, 2022
1 parent 81a48ae commit fa72e2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporters/openvpnas_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func (e *OpenVPNExporter) CollectSubscriptionStatistics(client xmlrpc.Client, ch
result := &struct {
SubscriptionStatus struct {
AgentDisabled bool `xml:"agent_disabled"`
AgentId string `xml:"agent_id"`
CcLimit int `xml:"cc_limit"`
CurrentCc int `xml:"current_cc"`
Error string `xml:"error"`
Expand Down

0 comments on commit fa72e2a

Please sign in to comment.