Skip to content

Commit

Permalink
#36 enhancement now allows for [] as mapped_subnets without omitting …
Browse files Browse the repository at this point in the history
…it, and creates empty mapped_subnets resource in meta
  • Loading branch information
Jamey Mohr authored and mataneine committed Jan 3, 2022
1 parent 57a771a commit 5cc5936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metanetworks/network_element.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type NetworkElement struct {
ExpiresAt string `json:"expires_at,omitempty" meta_api:"read_only"`
ID string `json:"id,omitempty" meta_api:"read_only"`
MappedService string `json:"mapped_service,omitempty"`
MappedSubnets []string `json:"mapped_subnets,omitempty"`
MappedSubnets []string `json:"mapped_subnets"`
ModifiedAt string `json:"modified_at,omitempty" meta_api:"read_only"`
Name string `json:"name"`
NetID int64 `json:"net_id,omitempty" meta_api:"read_only"`
Expand Down

0 comments on commit 5cc5936

Please sign in to comment.