Skip to content

Commit

Permalink
Merge pull request #231 from linkernetworks/johnlin/remove-route-gw-r…
Browse files Browse the repository at this point in the history
…equired

[Bug] remove required
  • Loading branch information
John-Lin authored Aug 8, 2018
2 parents 3a7adf1 + 8515caa commit 620296b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entity/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Container struct {
// PodRoute is the structure for add IP routing table
type PodRoute struct {
DstCIDR string `bson:"dstCIDR" json:"dstCIDR" validate:"required,cidrv4"`
Gateway string `bson:"gateway" json:"gateway" validate:"required,ipv4"`
Gateway string `bson:"gateway" json:"gateway" validate:"ipv4"`
}

// PodNetwork is the structure for pod network info
Expand Down

0 comments on commit 620296b

Please sign in to comment.