go-vcloud-director icon indicating copy to clipboard operation
go-vcloud-director copied to clipboard

Unable to search for organisations

Open medea61 opened this issue 1 year ago • 1 comments

Describe the bug

The query interface does not support searching for organisations.

Reproduction steps

  1. orgList, err := client.Query(map[string]string{"type": "organization"})

Expected behavior

Return a QueryResultRecordsType w/ OrgRecord(s)

Additional context

No response

medea61 avatar Aug 25 '23 12:08 medea61

Hi, Thanks for this request. We add resources to the query systems on a need basis. So far, we have got by using VCDClient.GetOrgList. More comments on PR #612

dataclouder avatar Aug 25 '23 12:08 dataclouder