Skip to content

Commit 61ead6a

Browse files
authored
blockstorage/v3/volumetypes Extra_specs omitempty (#2130)
1 parent 69f51f2 commit 61ead6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstack/blockstorage/v3/volumetypes/requests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type CreateOpts struct {
2222
// the ID of the existing volume snapshot
2323
IsPublic *bool `json:"os-volume-type-access:is_public,omitempty"`
2424
// Extra spec key-value pairs defined by the user.
25-
ExtraSpecs map[string]string `json:"extra_specs"`
25+
ExtraSpecs map[string]string `json:"extra_specs,omitempty"`
2626
}
2727

2828
// ToVolumeTypeCreateMap assembles a request body based on the contents of a

0 commit comments

Comments
 (0)