Skip to content

Commit

Permalink
[build][enhance] add GetDefaultPoolId in the entity Listener
Browse files Browse the repository at this point in the history
  • Loading branch information
cuongpiger committed Jun 23, 2024
1 parent e17b6dd commit 9135d37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vngcloud/entity/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ func (s *Listener) GetId() string {
return s.UUID
}

func (s *Listener) GetDefaultPoolId() string {
return s.DefaultPoolId
}

func (s *ListListeners) At(index int) *Listener {
if index < 0 || index >= len(s.Items) {
return nil
Expand Down

0 comments on commit 9135d37

Please sign in to comment.