Define a constant instead of duplicating literals
Define a constant instead of duplicating literals

The following literals were duplicated for at least 3 times
in pkg/virt-controller/watch/vm.go and therefore defined as constants:
"Stopping VMI"
"Starting VMI"
"Failed to extract vmKey from VirtualMachine."
"Failed to process delete notification"
"Failure attempting to delete VMI: %v"

Was detected by SonarCloud code scan as a code smell issue.

Signed-off-by: iholder <b6ebf050aad0538d1e30c557853a5c8924b66230@redhat.com>

davidvossel/kubevirt,davidvossel/kubevirt,stu-gott/kubevirt,kubevirt/kubevirt,stu-gott/kubevirt,kubevirt/kubevirt,davidvossel/kubevirt,kubevirt/kubevirt,kubevirt/kubevirt,stu-gott/kubevirt,stu-gott/kubevirt,davidvossel/kubevirt