Skip to content

Commit

Permalink
Merge pull request #177 from zheng1/master
Browse files Browse the repository at this point in the history
Update vxnet spec
  • Loading branch information
zheng1 authored May 24, 2021
2 parents 731ea1d + 92d5151 commit ff776ab
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ before_install:
- /usr/local/bin/make --version

install:
- go get -u github.com/golang/lint/golint;
- go get -u golang.org/x/lint/golint;

script:
- /usr/local/bin/make check
Expand Down
1 change: 1 addition & 0 deletions service/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ type DescribeImagesInput struct {
Provider *string `json:"provider" name:"provider" location:"params"`
SearchWord *string `json:"search_word" name:"search_word" location:"params"`
Status []*string `json:"status" name:"status" location:"params"`
Tags []*string `json:"tags" name:"tags" location:"params"`
// Verbose's available values: 0
Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"`
// Visibility's available values: public, private
Expand Down
3 changes: 2 additions & 1 deletion service/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -3262,7 +3262,8 @@ type VxNet struct {
VxNetID *string `json:"vxnet_id" name:"vxnet_id"`
VxNetName *string `json:"vxnet_name" name:"vxnet_name"`
// VxNetType's available values: 0, 1, 2
VxNetType *int `json:"vxnet_type" name:"vxnet_type"`
VxNetType *int `json:"vxnet_type" name:"vxnet_type"`
ZoneID *string `json:"zone_id" name:"zone_id"`
}

func (v *VxNet) Validate() error {
Expand Down
1 change: 1 addition & 0 deletions service/vxnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ type DescribeVxNetsInput struct {
// VxNetType's available values: 0, 1, 2
VxNetType *int `json:"vxnet_type" name:"vxnet_type" location:"params"`
VxNets []*string `json:"vxnets" name:"vxnets" location:"params"`
Zone *string `json:"zone" name:"zone" location:"params"`
}

func (v *DescribeVxNetsInput) Validate() error {
Expand Down

0 comments on commit ff776ab

Please sign in to comment.