Skip to content

Commit

Permalink
removed omitempty from blocks, countries and as_numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
edglynes committed Apr 1, 2020
1 parent 08b8c40 commit c29f76d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configgtm-v1_4/asmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
// AsAssignment represents a GTM asmap assignment structure
type AsAssignment struct {
DatacenterBase
AsNumbers []int64 `json:"asNumbers,omitempty"`
AsNumbers []int64 `json:"asNumbers"`
}

// AsMap represents a GTM AsMap
Expand Down
2 changes: 1 addition & 1 deletion configgtm-v1_4/cidrmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
//CidrAssignment represents a GTM cidr assignment element
type CidrAssignment struct {
DatacenterBase
Blocks []string `json:"blocks,omitempty"`
Blocks []string `json:"blocks"`
}

// CidrMap represents a GTM cidrMap element
Expand Down
2 changes: 1 addition & 1 deletion configgtm-v1_4/geomap.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
// GeoAssigment represents a GTM geo assignment element
type GeoAssignment struct {
DatacenterBase
Countries []string `json:"countries,omitempty"`
Countries []string `json:"countries"`
}

// GeoMap represents a GTM GeoMap
Expand Down

0 comments on commit c29f76d

Please sign in to comment.