Skip to content

Commit 01bb8ce

Browse files
committed
fixup! feat: Nutanix VM image preflight check
Add Nutanix prefix to cause reason
1 parent 3dcc8fc commit 01bb8ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/webhook/preflight/nutanix/image.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func newVMImageCheck(
2424
if nutanixNodeSpec == nil {
2525
return func(ctx context.Context) preflight.CheckResult {
2626
return preflight.CheckResult{
27-
Name: "VMImage",
27+
Name: "NutanixVMImage",
2828
Allowed: false,
2929
Error: true,
3030
Causes: []preflight.Cause{
@@ -52,7 +52,7 @@ func vmImageCheckForMachineDetails(
5252
field string,
5353
) preflight.CheckResult {
5454
result := preflight.CheckResult{
55-
Name: "VMImage",
55+
Name: "NutanixVMImage",
5656
Allowed: false,
5757
}
5858
if details.ImageLookup != nil {

0 commit comments

Comments
 (0)