Project

General

Profile

Bug #14644

Capsule sync progress should be shown only upto 2 decimal places

Added by Zach Huntington-Meath about 3 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1326109
Description of problem:

Currently Capsule Sync shows the progress as "88.88888888888889% " , which is not required and appears a bit odd.

Version-Release number of selected component (if applicable):
sat62-snap7

How reproducible:
while syncing capsule

Steps to Reproduce:
1. sync capsule
2. check the capsule progress, completion percentage.
3.

Actual results:
Capsule Sync shows the progress as "88.88888888888889% "

Expected results:
Capsule Sync shows the progress as "88%" or "88.9%".

Additional info:

Associated revisions

Revision 91e6967e (diff)
Added by Zach Huntington-Meath about 3 years ago

Fixes #14644 - Progress bar will no longer show so many decimal places. (#5967)

Will no longer show trailing zeros.

Rounds to the nearest int now.

History

#1 Updated by Zach Huntington-Meath about 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Zach Huntington-Meath

#2 Updated by Eric Helms about 3 years ago

  • Legacy Backlogs Release (now unused) set to 143

#3 Updated by The Foreman Bot about 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5967 added

#4 Updated by Zach Huntington-Meath about 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF