Skip to content

Commit

Permalink
[enhance] add functionality for loadbalancer entity
Browse files Browse the repository at this point in the history
  • Loading branch information
cuongpiger committed Jun 22, 2024
1 parent 87a9335 commit 6f6013a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vngcloud/entity/loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 6f6013a

Please sign in to comment.