Discovery rules should automatically pick the next available priority if not specified.
apidoc says the dsicovery_rule is an optional parameter:
optional , nil allowed
-however, foreman automatically puts 0 as a priority which causes conflicts on multiple POST requests with no priority specified.
I think it would be nice if foreman automatically chose (or suggested for UI dialog) the next available priority.
Bug reported as https://bugzilla.redhat.com/show_bug.cgi?id=1600621 - for some reason, I can not add it as "Bugzilla link" - it keeps saying me "Bugzilla link is invalid".
#5 Updated by Marek Hulán 9 months ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_discovery|6f777512a337d2d2f77563b15cc3a966af300fe4.