Skip to content

Commit

Permalink
fix segmentation id query param type
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovic Lamarche committed Dec 11, 2023
1 parent 485454f commit 0c459fa
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 0c459fa

Please sign in to comment.