Skip to content

Commit

Permalink
Addressed review comments w.r.t controller-runtime setlogger and [nits]
Browse files Browse the repository at this point in the history
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
  • Loading branch information
mabhi committed Feb 28, 2024
1 parent 929a897 commit 2ad9c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/blockstorage/vmware/vmware.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ var reVslmSyncFaultFatal = regexp.MustCompile("Change tracking invalid or disk i
func (p *FcdProvider) SnapshotCreate(ctx context.Context, volume blockstorage.Volume, tags map[string]string) (*blockstorage.Snapshot, error) {
var res types.AnyType
description := generateSnapshotDescription(tags)
err := wait.PollUntilContextTimeout(ctx, time.Second, defaultRetryLimit, false, func(innerCtx context.Context) (bool, error) {
err := wait.PollUntilContextTimeout(ctx, time.Second, defaultRetryLimit, false, func(context.Context) (bool, error) {
timeOfCreateSnapshotCall := time.Now()
var createErr error
res, createErr = p.createSnapshotAndWaitForCompletion(volume, ctx, description)
Expand Down

0 comments on commit 2ad9c58

Please sign in to comment.