diff --git a/vngcloud/entity/loadbalancer.go b/vngcloud/entity/loadbalancer.go index e9f0281..2caf6a0 100644 --- a/vngcloud/entity/loadbalancer.go +++ b/vngcloud/entity/loadbalancer.go @@ -29,6 +29,10 @@ type ListLoadBalancers struct { TotalItem int } +func (s *LoadBalancer) GetId() string { + return s.UUID +} + func (s *ListLoadBalancers) Len() int { return len(s.Items) }