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: nil pointer #128

Merged
merged 1 commit into from
Jul 12, 2024
Merged

fix: nil pointer #128

merged 1 commit into from
Jul 12, 2024

Conversation

vknabel
Copy link
Contributor

@vknabel vknabel commented Jul 9, 2024

I suppose _, err = c.driver.SwitchOperations().NotifySwitch(params, nil) should be executed in any case. Is this correct?

Otherwise a continue in case of an error is advisable.

@vknabel vknabel requested a review from a team as a code owner July 9, 2024 09:17
@robertvolkmann
Copy link
Contributor

This is the second issue introduced by #119. The first one is #125.

Maybe its better to revoke #119 and rework it completely.

@robertvolkmann
Copy link
Contributor

@vknabel What is the purpose of PortStates?

@vknabel
Copy link
Contributor Author

vknabel commented Jul 9, 2024

I really don't know the purpose of PortStates

@majst01
Copy link
Contributor

majst01 commented Jul 9, 2024

I really don't know the purpose of PortStates

Desired State in terms of UP/DOWN of every port defined in the metal-api

@Gerrit91
Copy link
Contributor

Gerrit91 commented Jul 9, 2024

/cc @iljarotar

@majst01 majst01 merged commit c19070a into master Jul 12, 2024
1 check passed
@majst01 majst01 deleted the fix/reconfigure-switch-nil-pointer branch July 12, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants