-
Notifications
You must be signed in to change notification settings - Fork 274
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
Feature/1797 register node return status #1798
Conversation
Please review |
I'm not sure this really fixes #1797 It talks about showing the status page in the body but about reworking the node_register in the title. Something is up... |
It partially fixes it in the sense that node_register will return a message to the portal. |
Bump |
return (0); | ||
$status_msg = "max nodes per pid met or exceeded"; | ||
$logger->error( "$status_msg - registration of $mac to $pid failed" ); | ||
return (0, $status_msg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the FALSE Luke
Just fix the constant and we're good to merge |
Sup ! |
Bump |
Description
pf::node::node_register is able to return status message to inform end users on failure per example
Impacts
There shouldn't be any impact since we basically return a string along with the return code (0,1)
Should just make sure all the caller are handling the return code as they should (curl ?)
pf::node::node_register flow
Delete branch after merge
YES
NEWS file entries
Enhancements
Bug Fixes