outposts: also send outpost type

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-11-04 15:08:31 +01:00
parent 8d766efecb
commit dd82d55725
2 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ func NewAPIController(akURL url.URL, token string) *APIController {
}
outpost := outposts.Results[0]
doGlobalSetup(outpost.Config)
go analytics(akURL, outpost.Name)
go analytics(akURL, outpost.Name, string(outpost.Type))
log.WithField("name", outpost.Name).Debug("Fetched outpost configuration")