elementary icon indicating copy to clipboard operation
elementary copied to clipboard

send-report do not use "bucket_file_path" in config file

Open cdevacc1 opened this issue 1 year ago • 0 comments

Describe the bug This command edr send-report --gcs-bucket-name my-bucket --bucket-file-path elementary_data/report.html work as expected. But when use config file below, the command edr send-report creates elemetary_data.html in the root level of bucket.

google:
  gcs_bucket_name: my-bucket
  bucket_file_path: elemetary_data/report.html

To Reproduce

  1. Use this config:
google:
  gcs_bucket_name: my-bucket
  bucket_file_path: elemetary_data/report.html
  1. Run edr send-report
  2. Go to bucket and check if it creates my-bucket/elementary_data.html instead of my-bucket/elementary_data/report.html

cdevacc1 avatar Oct 21 '24 07:10 cdevacc1