Skip to content

Commit 00f93bd

Browse files
committed
Update struct.go, add instanceId to struct Instance
1 parent 8bae72c commit 00f93bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

struct.go

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ type RegisterInstanceJson struct {
7777

7878
// Instance [de]serializeable [to|from] Eureka [XML|JSON].
7979
type Instance struct {
80+
InstanceId string `xml:"instanceId" json:"instanceId"`
8081
HostName string `xml:"hostName" json:"hostName"`
8182
App string `xml:"app" json:"app"`
8283
IPAddr string `xml:"ipAddr" json:"ipAddr"`

0 commit comments

Comments
 (0)