RedHatInsights / insights-results-aggregator-utils

Utilities for Insights Results Aggregator
Apache License 2.0
1 stars 6 forks source link

Fix cluster writing in CSV #322

Closed juandspy closed 2 years ago

juandspy commented 2 years ago

Description

Depending on the S3 bucket format, it would write the correct cluster UUID or not. This is because one of the buckets we are using has the clusters near the root level and the other uses some prefixes.

Now I'm getting the cluster UUID from back to front instead of front to back. With these changes it won't fail as both buckets use the same format for the last paths (CLUSTER/DATE/HOUR/TARBALL).

Type of change

Please delete options that are not relevant.

Testing steps

Checklist