Skip to content

Commit 9c0d471

Browse files
author
Valeriy Khorunzhin
committed
resolve
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
1 parent 62f3314 commit 9c0d471

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

api/core/v1alpha2/virtual_machine_snapshot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ type VirtualMachineSnapshotStatus struct {
8989
VirtualMachineSnapshotSecretName string `json:"virtualMachineSnapshotSecretName,omitempty"`
9090
// List of VirtualDiskSnapshot names for the snapshots taken from the virtual disks of the associated virtual machine.
9191
VirtualDiskSnapshotNames []string `json:"virtualDiskSnapshotNames,omitempty"`
92-
// Snapshotted resource list
92+
// List of snapshot resources.
9393
Resources []ResourceRef `json:"resources,omitempty"`
9494
// The latest detailed observations of the VirtualMachineSnapshot resource.
9595
Conditions []metav1.Condition `json:"conditions,omitempty"`

images/virtualization-artifact/pkg/controller/vmsnapshot/internal/life_cycle_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ var _ = Describe("LifeCycle handler", func() {
146146

147147
var err error
148148
fakeClient, err = testutil.NewFakeClientWithObjects(vd, vm, secret, vmSnapshot, vdSnapshot)
149-
Expect(err).ShouldNot(HaveOccurred())
149+
Expect(err).NotTo(HaveOccurred())
150150

151151
recorder = &eventrecord.EventRecorderLoggerMock{
152152
EventFunc: func(_ client.Object, _, _, _ string) {},

0 commit comments

Comments
 (0)