Skip to content

Commit 47c5691

Browse files
winiciusallanmandre
authored andcommitted
identity/services: add omitempty to the type field
1 parent 5fc8537 commit 47c5691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)