Skip to content

Commit 2c52f33

Browse files
identity/services: add omitempty to the type field
1 parent cac4191 commit 2c52f33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstack/identity/v3/services/requests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ type UpdateOptsBuilder interface {
109109
// UpdateOpts provides options for updating a service.
110110
type UpdateOpts struct {
111111
// Type is the type of the service.
112-
Type string `json:"type"`
112+
Type string `json:"type,omitempty"`
113113

114114
// Enabled is whether or not the service is enabled.
115115
Enabled *bool `json:"enabled,omitempty"`

0 commit comments

Comments
 (0)