Skip to content

Commit

Permalink
fix: remove timeout of vsan reconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
zxinyu08 committed Mar 21, 2023
1 parent 407ed09 commit df17981
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vsphere/internal/helper/vsanclient/vsan_client_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import (
)

func Reconfigure(vsanClient *vsan.Client, cluster vimtypes.ManagedObjectReference, spec vsantypes.VimVsanReconfigSpec) error {
ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
defer cancel()
ctx := context.TODO()

task, err := vsanClient.VsanClusterReconfig(ctx, cluster.Reference(), spec)
if err != nil {
Expand Down

0 comments on commit df17981

Please sign in to comment.