Skip to content

Commit

Permalink
Merge pull request #139 from linkernetworks/johnlin/ifName-required
Browse files Browse the repository at this point in the history
VX-197 ifname is required
  • Loading branch information
John-Lin authored Jul 20, 2018
2 parents cc3c50c + 99f93a0 commit c0a0698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entity/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const (
)

type PhyInterface struct {
Name string `bson:"name" json:"name" validate:"-"`
Name string `bson:"name" json:"name" validate:"required"`
PCIID string `bson:"pciID" json:"pciID" validate:"-"`
}

Expand Down

0 comments on commit c0a0698

Please sign in to comment.