Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
feat: Added LastSeen property to Uniform Integration (#4615)
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bacher <[email protected]>
  • Loading branch information
bacherfl authored and mowies committed Jul 22, 2021
1 parent 60ead5b commit a46301e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/api/models/uniform.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"encoding/hex"
"encoding/json"
"fmt"
"time"
)

type Integration struct {
Expand All @@ -20,6 +21,7 @@ type MetaData struct {
DistributorVersion string `json:"distributorversion" bson:"distributorversion"`
Location string `json:"location" bson:"location"`
KubernetesMetaData KubernetesMetaData `json:"kubernetesmetadata" bson:"kubernetesmetadata"`
LastSeen time.Time `json:"lastseen" bson:"lastseen"`
}

type Subscription struct {
Expand Down

0 comments on commit a46301e

Please sign in to comment.