quipucords / yupana

Service app to process & upload data from quipucords and satellite to the host based inventory
GNU General Public License v3.0
4 stars 14 forks source link

Fix create report logic to have even slices. #272

Closed myersCody closed 4 years ago

myersCody commented 4 years ago

Using: hosts=23923 metadata without the +1

"report_slices": {
        "2b1d8d0a-87d2-4ca3-a27c-fa8a7bd11d97": {
            "number_hosts": 7973
        },
        "d065f8d6-3a18-42cf-863e-99494721986f": {
            "number_hosts": 7973
        },
        "b9d7a3cd-528d-436d-bf36-dc688b8d91c9": {
            "number_hosts": 7973
        },
        "5fa15a3e-b3cd-4d65-ade4-45d1d047048c": {
            "number_hosts": 2
        }

Metadata with the plus one

"report_slices": {
        "2022cbfd-9e58-4cd2-8888-7a4af87e19bd": {
            "number_hosts": 7974
        },
        "52f9720d-e2ea-4dc9-bf18-db574c7f56ee": {
            "number_hosts": 7974
        },
        "38b79695-31da-47b7-a9a8-4c55aa24bd65": {
            "number_hosts": 7973
        }
    }
codecov-io commented 4 years ago

Codecov Report

Merging #272 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #272   +/-   ##
=======================================
  Coverage   94.73%   94.73%           
=======================================
  Files          29       29           
  Lines        2452     2452           
  Branches      286      286           
=======================================
  Hits         2323     2323           
  Misses         84       84           
  Partials       45       45

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update db981c4...8c9df3a. Read the comment docs.