Project

General

Profile

Bug #7424

status_carp.php: Reset Demotion Status button does not appear when the demotion value is negative

Added by Jim Pingle 9 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
CARP
Target version:
Start date:
03/24/2017
Due date:
% Done:

100%

Affected Version:
All
Affected Architecture:
All

Description

In some cases, through manual user intervention, the value of net.inet.carp.demotion can be negative. The GUI shows a button for a >0 demotion status that resets it to 0, but not negative.

We need to show the button for negative cases as well, so the user can return the value to zero in either case.

To me, I have a patch.

Associated revisions

Revision 52a3580a
Added by Jim Pingle 9 months ago

Show the button to reset CARP demotion status even when the value is negative, and change the reset code to accommodate. Also fixup text in that dialog. Fixes #7424

Revision 01dc8395
Added by Jim Pingle 9 months ago

Show the button to reset CARP demotion status even when the value is negative, and change the reset code to accommodate. Also fixup text in that dialog. Fixes #7424

Revision 1ae0947a
Added by Jim Pingle 9 months ago

Show the button to reset CARP demotion status even when the value is negative, and change the reset code to accommodate. Also fixup text in that dialog. Fixes #7424

History

#1 Updated by Jim Pingle 9 months ago

  • Status changed from Assigned to Feedback
  • % Done changed from 0 to 100

#2 Updated by Jim Pingle 8 months ago

  • Status changed from Feedback to Resolved

Button shows as expected now, and works properly.

Also available in: Atom PDF