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

MGMT-16721: handle hosts with no luks #5940

Merged
merged 1 commit into from
Feb 7, 2024

Commits on Feb 7, 2024

  1. MGMT-16721: Handle luks == nil and luks.Clevis == nil

    In line 41 of internal/host/hostcommands/tang_connectivity_check_cmd.go
    Both `luks` and `luks.Clevis` are pointers which can be nil, there was no checking in place to ensure that we avoid a nil pointer dereference
    
    This PR fixes that by making appropriate checks to ensure that neither of these pointers are nil.
    paul-maidment committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    9a82bd4 View commit details
    Browse the repository at this point in the history