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

Fix issue #168, unchecked nil assignment #169

Merged
merged 1 commit into from
Nov 16, 2020

Conversation

yannickstruyf3
Copy link
Collaborator

Fix: #168

Unchecked nil assignment.
Caused when VM has following boot config:

"boot_config": {
    "boot_device_order_list": [
        "CDROM",
        "DISK",
        "NETWORK"
    ],
    "boot_type": "LEGACY"
},

instead of

"boot_config": {
    "boot_device": {
        "disk_address": {
            "device_index": 0,
            "adapter_type": "SCSI"
        }
    },
    "boot_type": "LEGACY"
},

@marinsalinas marinsalinas merged commit e6c6321 into nutanix:master Nov 16, 2020
yannickstruyf3 pushed a commit to yannickstruyf3/terraform-provider-nutanix that referenced this pull request Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'invalid memory address or nil pointer dereference' while getting a VM.
2 participants