Return reference to object providing Endpoint

This commit is contained in:
Antoine Cotten 2017-07-29 15:27:56 +02:00
parent 3495bfb4ac
commit 6035e55ec3
No known key found for this signature in database
GPG key ID: EA06C9A94E2B3EA0
3 changed files with 6 additions and 0 deletions

View file

@ -1188,6 +1188,7 @@ func (ic *GenericController) getEndpoints(
Port: fmt.Sprintf("%v", targetPort),
MaxFails: hz.MaxFails,
FailTimeout: hz.FailTimeout,
Target: epAddress.TargetRef,
}
upsServers = append(upsServers, ups)
adus[ep] = true