Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Updating vmware/govmomi to v0.22.1 #4797

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

[[constraint]]
name = "github.com/vmware/govmomi"
version = "0.6.2"
version = "0.22.1"

[[constraint]]
name = "github.com/intel-go/cpuid"
Expand Down
10 changes: 6 additions & 4 deletions drivers/vmwarevsphere/vsphere.go
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ func (d *Driver) Create() error {
return err
}
p := soap.DefaultUpload
if err = c.Client.UploadFile(d.ISO, dsurl, &p); err != nil {
if err = c.Client.UploadFile(ctx, d.ISO, dsurl, &p); err != nil {
return err
}

Expand Down Expand Up @@ -676,7 +676,7 @@ func (d *Driver) Create() error {
if err != nil {
return err
}
if err = c.Client.UploadFile(src, u, nil); err != nil {
if err = c.Client.UploadFile(ctx, src, u, nil); err != nil {
return err
}

Expand Down Expand Up @@ -1030,8 +1030,10 @@ type FileAttrFlag struct {
}

func (f *FileAttrFlag) SetPerms(owner, group, perms int) {
f.OwnerId = int32(owner)
f.GroupId = int32(group)
owner32 := int32(owner)
group32 := int32(group)
f.OwnerId = &owner32
f.GroupId = &group32
f.Permissions = int64(perms)
}

Expand Down
1 change: 0 additions & 1 deletion vendor/github.com/vmware/govmomi/.drone.sec

This file was deleted.

17 changes: 0 additions & 17 deletions vendor/github.com/vmware/govmomi/.drone.yml

This file was deleted.

5 changes: 5 additions & 0 deletions vendor/github.com/vmware/govmomi/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

118 changes: 118 additions & 0 deletions vendor/github.com/vmware/govmomi/.goreleaser.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions vendor/github.com/vmware/govmomi/.mailmap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

99 changes: 91 additions & 8 deletions vendor/github.com/vmware/govmomi/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading