Skip to content

Commit

Permalink
fix segmentation id query param type (#22)
Browse files Browse the repository at this point in the history
Co-authored-by: Ludovic Lamarche <[email protected]>
  • Loading branch information
snigle and Ludovic Lamarche authored Dec 11, 2023
1 parent 485454f commit 6f87f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openstack/networking/v2/networks/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type ListOpts struct {
NotTags string `q:"not-tags"`
NotTagsAny string `q:"not-tags-any"`
NetworkType string `q:"provider:network_type"`
SegmentationID int `q:"provider:segmentation_id"`
SegmentationID *int `q:"provider:segmentation_id"`
}

// ToNetworkListQuery formats a ListOpts into a query string.
Expand Down

0 comments on commit 6f87f5c

Please sign in to comment.