Merge pull request #1043 from antoineco/ep-targetref

Return reference to object providing Endpoint
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-08-02 19:56:22 -04:00 committed by GitHub
commit 1045e432c7
3 changed files with 6 additions and 0 deletions

View file

@ -1180,6 +1180,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