Skip to content

Commit

Permalink
Merge pull request #3562 from derekbeard/placevmsxcluster-extend-to-s…
Browse files Browse the repository at this point in the history
…upport-placementtypes

api: Update folder.PlaceVMsXCluster to support several placement types
  • Loading branch information
derekbeard authored Oct 3, 2024
2 parents 40d679d + 733f1c0 commit 3db76c0
Show file tree
Hide file tree
Showing 4 changed files with 580 additions and 122 deletions.
6 changes: 3 additions & 3 deletions simulator/cluster_compute_resource_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
Copyright (c) 2017 VMware, Inc. All Rights Reserved.
Copyright (c) 2017-2024 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -259,7 +259,7 @@ func TestPlaceVmRelocate(t *testing.T) {
"InvalidArgument",
},
{
"relocate with a diskId in spec.dick that does not exist in the vm",
"relocate with a diskId in spec.disk that does not exist in the vm",
&types.VirtualMachineRelocateSpec{
Host: &hostMoRef,
Disk: []types.VirtualMachineRelocateSpecDiskLocator{
Expand Down
Loading

0 comments on commit 3db76c0

Please sign in to comment.