aboutsummaryrefslogtreecommitdiffstats
path: root/src/kube2msb/msb_client.go
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-15 08:02:38 +0000
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-09-15 08:03:03 +0000
commit5aaaa7badb3f3c29bad8b5a49e2b1f185e821771 (patch)
treed7996e6d218b2bf81ab0c15ff2e5cc289c052bbe /src/kube2msb/msb_client.go
parent06ae19f849c50733f5ee3ddd825e6e845d2f67cb (diff)
Add path property support
Issue-Id: OOM-61 Change-Id: Ifde7c3987c41beb49b77556b20e6e2018d52e1aa Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'src/kube2msb/msb_client.go')
-rw-r--r--src/kube2msb/msb_client.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kube2msb/msb_client.go b/src/kube2msb/msb_client.go
index 2c1b402..74e2319 100644
--- a/src/kube2msb/msb_client.go
+++ b/src/kube2msb/msb_client.go
@@ -124,6 +124,7 @@ func ServiceAnnotation2ServiceUnit(sa *ServiceAnnotation) *ServiceUnit {
Protocol: sa.Protocol,
LBPolicy: sa.LBPolicy,
VisualRange: sa.VisualRange,
+ Path: sa.Path,
Instances: []InstanceUnit{{ServiceIP: sa.IP, ServicePort: sa.Port}},
}
}