mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-30 07:12:07 +00:00
godep: update vmware/govmomi
This commit is contained in:
13
vendor/github.com/vmware/govmomi/object/compute_resource.go
generated
vendored
13
vendor/github.com/vmware/govmomi/object/compute_resource.go
generated
vendored
@@ -109,16 +109,3 @@ func (c ComputeResource) Reconfigure(ctx context.Context, spec types.BaseCompute
|
||||
|
||||
return NewTask(c.c, res.Returnval), nil
|
||||
}
|
||||
|
||||
func (c ComputeResource) Destroy(ctx context.Context) (*Task, error) {
|
||||
req := types.Destroy_Task{
|
||||
This: c.Reference(),
|
||||
}
|
||||
|
||||
res, err := methods.Destroy_Task(ctx, c.c, &req)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return NewTask(c.c, res.Returnval), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user