project-koku / nise

A tool for generating sample cost usage data for testing purposes
GNU Affero General Public License v3.0
9 stars 15 forks source link

Fixing ocp manifest cr_status #370

Closed lcouzens closed 3 years ago

lcouzens commented 3 years ago

Before this change the cr_status gets returned as a string which prevents our workers processing the manifest file. "cr_status": "{'clusterID': '4e009161-4f40-......................... 'create_source': False, 'check_cycle': 1440}}" koku throws the following error koku-worker_1 | [2021-08-11 08:43:38,290] ERROR 3627ef00-b492-43f6-9a0a-a36d19e8e3c8 Unexpected manifest processing error for provider: 66db12d7-f341-41df-ac26-db8f7cf8895d. Error: 'str' object has no attribute 'get'.

codecov[bot] commented 3 years ago

Codecov Report

Merging #370 (bd45083) into master (0bfc670) will increase coverage by 0.0%. The diff coverage is 100.0%.

@@          Coverage Diff           @@
##           master    #370   +/-   ##
======================================
  Coverage    93.7%   93.7%           
======================================
  Files          48      48           
  Lines        3629    3630    +1     
  Branches      508     508           
======================================
+ Hits         3402    3403    +1     
  Misses        124     124           
  Partials      103     103