Skip to content

Commit

Permalink
made changes related to lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tssushma committed Dec 22, 2023
1 parent 8814a5e commit f12ad78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (c *ClientIMPL) GetHostGroups(ctx context.Context) ([]HostGroup, error) {
err := c.readPaginatedData(func(offset int) (api.RespMeta, error) {
var page []HostGroup
hostGroup := HostGroup{}
qp := c.APIClient().QueryParamsWithFields(&host_group)
qp := c.APIClient().QueryParamsWithFields(&hostGroup)
qp.Order("name")
qp.Offset(offset).Limit(paginationDefaultPageSize)
meta, err := c.APIClient().Query(
Expand Down

0 comments on commit f12ad78

Please sign in to comment.