Skip to content

Commit

Permalink
Fix nil pointer panic when listing spaces and including orgs
Browse files Browse the repository at this point in the history
  • Loading branch information
sneal committed Jan 20, 2023
1 parent 254add2 commit d55b6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/space.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type SpaceListOptions struct {
Names Filter `qs:"names"` // list of space names to filter by
OrganizationGUIDs Filter `qs:"organization_guids"` // list of organization guids to filter by

Include resource.SpaceIncludeType // include parent objects if any
Include resource.SpaceIncludeType `qs:"include"` // include parent objects if any
}

// NewSpaceListOptions creates new options to pass to list
Expand Down

0 comments on commit d55b6aa

Please sign in to comment.