Eureka: Fix service discovery when compiled in 32-bit (#7961)

Java timestamps are causing issues when unmarshalling with a 32 bit
prometheus. It appears that we do not use those fields, so let's remove
them.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
Julien Pivotto 2020-09-22 17:53:26 +02:00 committed by GitHub
parent e83ef207b6
commit 184a871638
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,8 +55,6 @@ type Instance struct {
DataCenterInfo *DataCenterInfo `xml:"dataCenterInfo"`
Metadata *MetaData `xml:"metadata"`
IsCoordinatingDiscoveryServer bool `xml:"isCoordinatingDiscoveryServer"`
LastUpdatedTimestamp int `xml:"lastUpdatedTimestamp"`
LastDirtyTimestamp int `xml:"lastDirtyTimestamp"`
ActionType string `xml:"actionType"`
CountryID int `xml:"countryId"`
InstanceID string `xml:"instanceId"`