Skip to content

Commit

Permalink
Add omitempty to protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
sreinkemeier committed Sep 16, 2019
1 parent ba98540 commit a0c6b89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ type UpdateOpts struct {
InternalIPAddress string `json:"internal_ip_address,omitempty"`
InternalPort int `json:"internal_port,omitempty"`
ExternalPort int `json:"external_port,omitempty"`
Protocol string `json:"protocol"`
Protocol string `json:"protocol,omitempty"`
}

// ToPortForwardingUpdateMap allows UpdateOpts to satisfy the UpdateOptsBuilder
Expand Down

0 comments on commit a0c6b89

Please sign in to comment.