Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vsphere timeout error message #1062

Merged
merged 4 commits into from
Jul 30, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
bad commit
  • Loading branch information
bathina2 committed Jul 30, 2021
commit 5d571bbb82038cc8db5fba6125b7f11c99c7cb45
4 changes: 2 additions & 2 deletions pkg/blockstorage/vmware/vmware.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ func (p *FcdProvider) VolumeCreateFromSnapshot(ctx context.Context, snapshot blo
return nil, errors.Wrap(err, "Failed to wait on task")
}
if res == nil {
return nil, errors.Errorf("vSphere task did not complete. TaskRefType: %s, TaskRefValue: %s VolID: %s, SnapshotID: %s, NewVolID: %s",
task.ManagedObjectReference.Type, task.ManagedObjectReference.Value, vimID(snapshotID), uid)
return nil, errors.Errorf("vSphere task did not complete. TaskRefType: %s, TaskRefValue: %s, VolID: %s, SnapshotID: %s, NewVolID: %s",
task.ManagedObjectReference.Type, task.ManagedObjectReference.Value, volID, snapshotID, uid)
}
log.Debug().Print("CreateDiskFromSnapshot task complete", field.M{"VolumeID": volID, "SnapshotID": snapshotID})
obj, ok := res.(types.VStorageObject)
Expand Down