Skip to content

Commit

Permalink
Keep UniqueID around when refreshing the instance
Browse files Browse the repository at this point in the history
  • Loading branch information
st3v committed Sep 7, 2015
1 parent fdd2ee4 commit 8dc2081
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ func (e *EurekaConnection) GetInstance(app, insId string) (*Instance, error) {
func (e *EurekaConnection) readInstanceInto(ins *Instance) error {
tins, err := e.GetInstance(ins.App, ins.Id())
if err == nil {
tins.UniqueID = ins.UniqueID
*ins = *tins
}
return err
Expand Down

0 comments on commit 8dc2081

Please sign in to comment.