added comment to operator metrics function
This commit is contained in:
parent
18aa30c00f
commit
67b4161411
|
@ -305,6 +305,7 @@ func (op *Operator) LicenseGet(q *QueryOptions) (*LicenseReply, *QueryMeta, erro
|
|||
return &reply, qm, nil
|
||||
}
|
||||
|
||||
// Metrics returns a slice of bytes containing metrics, optionally formatted as either json or prometheus
|
||||
func (op *Operator) Metrics(q *QueryOptions) ([]byte, error) {
|
||||
if q == nil {
|
||||
q = &QueryOptions{}
|
||||
|
|
|
@ -305,6 +305,7 @@ func (op *Operator) LicenseGet(q *QueryOptions) (*LicenseReply, *QueryMeta, erro
|
|||
return &reply, qm, nil
|
||||
}
|
||||
|
||||
// Metrics returns a slice of bytes containing metrics, optionally formatted as either json or prometheus
|
||||
func (op *Operator) Metrics(q *QueryOptions) ([]byte, error) {
|
||||
if q == nil {
|
||||
q = &QueryOptions{}
|
||||
|
|
Loading…
Reference in New Issue