mw/kubernetes: remove kPod and kServices (#969)
Based up on: #939, but redone in a new PR with some cherry-picked commits:aacb91ef0b
5dc34247b7
This removes kPod and Kservice and creates []msg.Service from k.findPods and k.findServices. Updated few tests which I *think* are correct; they look correct to me.
This commit is contained in:
parent
7f5086e97a
commit
61fc672e19
7 changed files with 110 additions and 153 deletions
|
@ -29,7 +29,7 @@ func (k *Kubernetes) Federations(state request.Request, fname, fzone string) (ms
|
|||
if err != nil {
|
||||
return msg.Service{}, err
|
||||
}
|
||||
r, err := k.parseRequest(state)
|
||||
r, err := parseRequest(state)
|
||||
|
||||
lz := node.Labels[LabelZone]
|
||||
lr := node.Labels[LabelRegion]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue