IPA: return ENOENT if ipa_get_config yields nothing#7928
IPA: return ENOENT if ipa_get_config yields nothing#7928alexey-tikhonov wants to merge 2 commits into
ipa_get_config yields nothing#7928Conversation
and handle this error code properly.
|
Thanks for the PR, would you also be willing to add justin-stephenson@afd7bfa here? It makes use of |
-- shouldn't it be |
Yes, I just noticed it also and fixed it. |
Thank you, added. |
to require list of attrs explicitly.
f943725 to
42012a4
Compare
sumit-bose
left a comment
There was a problem hiding this comment.
Hi,
thank you both for the patches.
Afaik, it can be expected that IPA_CONFIG_MIGRATION_ENABLED is always present, so strictly speaking not finding it would be an error. But given the this flag will be only used in a limited time-frame after a migration, I think it is ok to treat ENOENT not as an error. ACK.
bye,
Sumit
and handle this error code properly.